Menu

Parse error: parse error, expecting `T_VARIAB

Help
Anonymous
2004-01-07
2004-01-07
  • Anonymous

    Anonymous - 2004-01-07

    Whenever I try to submit the form results I get the following message:

    Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/name/public_html/folder/forms/process.php on line 27

    Thanks

     
    • Musawir Ali

      Musawir Ali - 2004-01-07

      This is becuase you have used a bad name for one or more of your form fields. Remember, the form field names can only consist of letters, numbers, underscores, and white spaces ... and nothing else. Also, the names cannot start with a number.. it must start with a letter. Also, do not end the field name with a semicolon... any character other than those mentioned above will cause that sort of error.

       
    • Anonymous

      Anonymous - 2004-01-07

      Thank you.  That makes sense because some of the field names begin with numbers.

      So, the question now is can I change these field names without going through the entire process again?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.