Last active
July 6, 2016 10:29
-
-
Save NickMitin/b65c523b63d712e1ac1dc3210377d2da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $stringValue = htmlspecialchars(stripcslashes($srchPatValues[$j]), ENT_QUOTES); | |
| $stringValue = addcslashes($stringValue, '$'); | |
| switch ($fldType[$i]) { | |
| case 1: // Char | |
| $result .= $fldNameTempl . "<br><input type='text' name='".$srchPatName."[" . $j . "]' size='50' maxlength='255' value='" . $stringValue . "'>" . $fld_suffix; | |
| $j++; | |
| break; | |
| case 3: // Text | |
| $result .= $fldNameTempl . "<br><input type='text' name='".$srchPatName."[" . $j . "]' size='50' maxlength='255' value='" . $stringValue . "'>" . $fld_suffix; | |
| $j++; | |
| break; | |
| case 6: // File | |
| $result .= $fldNameTempl . "<br><input type='text' name='".$srchPatName."[" . $j . "]' size='50' maxlength='255' value='" . $stringValue . "'>" . $fld_suffix; | |
| $j++; | |
| break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment