Any thoughts?
Parse error: parse error, unexpected T_IF in /home/content/d/r/h/drhollis/html/scripts/formmail.php on line 524
http://www.woodfiredhottub.com/contact.php
http://www.woodfiredhottub.com/scripts/formmail.php
Help aprecciated
Any thoughts?
Parse error: parse error, unexpected T_IF in /home/content/d/r/h/drhollis/html/scripts/formmail.php on line 524
http://www.woodfiredhottub.com/contact.php
http://www.woodfiredhottub.com/scripts/formmail.php
Help aprecciated
I would check the line above #48. Most likely you didn't close a quote in one of the two array variables you modified.
-Andrew M Riley
Hi
I have a similar situation here. I do not understand why it is saying syntax is wrong, as I do not know PHP yet.
Here is the error:
Parse error: syntax error, unexpected T_STRING, expecting ')' in
/home/......../formmail.php5 on line 48
Line 48 reads:
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
I know exactly what the error is saying, I just do not know what is wrong with the line it is pointing to or how to fix the syntax, or more like, what to change it to.
I appreciate your time. Thank you.