0
 echo '<form method="post" autocomplete="on" action='echo htmlspecialcharsb($_SERVER["PHP_SELF"]);'>
            <input type="text" name="gname" >
            <input type="submit"name="submit" value="search">', $gmeta ? $gmeta : $field['std'], '</form>', '<br />', $field['desc'];
            break;

and result this error in line 1 here:

autocomplete="on" action='echo htmlspecialcharsb($_SERVER["PHP_SELF"]);'>
jackson
  • 21
  • 1
  • 4
  • you don't need another `echo` inside, just concatenate `htmlspecialchars` – Kevin Apr 10 '15 at 13:52
  • ok i do it but still erorr `echo '
    ` errorcode:`Parse error: syntax error, unexpected 'htmlspecialcharsb' (T_STRING), expecting ',' or ';' `
    – jackson Apr 10 '15 at 14:37

0 Answers0