Jump to content

Form Validation with Preg_Match getting an error at the end


kenwvs

Recommended Posts

I have a validation script that I am trying to figure out and it looks like this:
[code]if($error == "0"){
echo "
The data you entered was valid<p>

}else{
;echo "Number of errors: $error ";  //this is line 329
}
?>[/code]

and when I run it, I am getting this error

[quote]Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Documents and Settings\Owner\My Documents\My Webs\forsale4u\php90F.tmp on line 329[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.