T_STRING error in php script?

Cory

New member
This is the section of the script that the error occurs. When it is commented out, it works just fine. I cant see any reason why it'd be failing, unless I'm missing something obvious.

else if($resultForUsername[0] != $checkusername){
$error = '<font color="red"><b>This username doesn't exist.<font color="red"><b>';

The entire can be found here: http://pastie.org/995909
No need to respond, elpasi2 got it.

Best-answering him when I get the chance...
 
rewrite doesn't as doesn\'t.

As your string is bounded by the ' characters, the ' in doesn't is prematurely ending the string. You can see that in the syntax highlighting on pastie.
 
Back
Top