Menu

parse error, unexpected T_LNUMBER

Help
Anonymous
2004-08-04
2013-06-03
  • Anonymous

    Anonymous - 2004-08-04

    I just set up Phpformgenerator. Seems to be very through program.

    I have encountered an error I can't find any information on here.

    when I fill in the form and hit submit I get the following error:

    Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/colibrir/public_html/phpform/use/orderform/process.php on line 39

    I have not a clue what this means, sure could use some help or pointed in the right direction to learn

    thanks

    Helaman

     
    • Anonymous

      Anonymous - 2004-09-01

      I just started playing with this phpform Generator today and had the same problem.   What I had was a field name "2nd Address".  Well, becasue of the way the code in process.php is written, when the variable $message is being built it would come to this line "2nd Address = ".$2nd_Address.".  PHP sees the 2 as a new line number not a variable.  Changed the field name to "Second Address' and problem cleared up.

       
      • 3gtim

        3gtim - 2005-01-24

        Yep - same trouble - soon as I dropped the numbers in the name - worked great!

         

Log in to post a comment.