Hello I am so new to php. I uploaded the files for a form.. I keep getting this error message.. what does it mean?
Parse error: parse error, unexpected T_STRING in /home/httpd/vhosts/lahitmanstudios.com/httpdocs/email.php on line 5
Basically, you have some text that is out of place, e.g.,
<?php hello world! ?>
instead of:
<?php echo 'hello world!'; ?>
$valid_ref1="http://lahitmanstudios.com/form.html"; //
This is the one that it says is wrong... so what is wrong with it?
We'll need to see more of your program. PHP is generating an error for that line, but the problem could be with the line before it.
Chris
In other words, for parse errors you should examine not only the line in question but also a few lines above it.