Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/duanefor/public_html/iamsales/phpform/use/Interview/process.php on line 104
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/duanefor/public_html/iamsales/phpform/use/Interview2/process.php on line 23
---
Also, how do I edit where the form goes when you click submit (ie. I want to change the thank you page, and I also want to change the email address that will receive the form results). I looked in the html and there is no email address listed and also no thank you page. Where is this information stored?
I hope someone can help!! Thank you so much.
cindy@duaneforrest.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
These errors are usually due to you specifying variable names with a number for the first character. You will either have to recreate the form without this or edit the form1.html and the process.php file. I recomend the first option in most cases.
You can edit the thank you page in the process.php file but if you are going to recreate the form anyway just specify the new URL when you are creating the new form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have set up 2 forms and when you submit them you get Parse Errors. Can you please tell me how to fix this?
http://iamsales.duaneforrest.org/phpform/use/Interview/form1.html
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/duanefor/public_html/iamsales/phpform/use/Interview/process.php on line 104
http://iamsales.ca/phpform/use/Interview2/form1.html
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/duanefor/public_html/iamsales/phpform/use/Interview2/process.php on line 23
---
Also, how do I edit where the form goes when you click submit (ie. I want to change the thank you page, and I also want to change the email address that will receive the form results). I looked in the html and there is no email address listed and also no thank you page. Where is this information stored?
I hope someone can help!! Thank you so much.
cindy@duaneforrest.com
These errors are usually due to you specifying variable names with a number for the first character. You will either have to recreate the form without this or edit the form1.html and the process.php file. I recomend the first option in most cases.
You can edit the thank you page in the process.php file but if you are going to recreate the form anyway just specify the new URL when you are creating the new form.
I did what you suggested. I recreated the form from scratch. I still get this error message:
http://iamsales.duaneforrest.org/use/use/interviewone/form1.html
Parse error: parse error, unexpected ')' in /home/duanefor/public_html/iamsales/use/use/interviewone/process.php on line 104
I have no numbers in my form.
Cindy
Great little editor I think you will like. Its free and has line numbers.
http://hapedit.free.fr/
It sounds like you just inadvertently removed the ending ) from the if statement.
I'll be off line for a few hours. I'll catch up with you later.
This is not a numbers problem. This is a syntax problem. Send me your process.php file.