I'm getting error: syntax error, unexpected T_VARIABLE message. The code was php3 and I'm updating it to php5. Any hints or suggestions would be appreciated greatly. I think this is the line: print"<SELECT NAME="$name">n<OPTION VALUE="0">Nonen"; Thanks. -PGriff
I think I've figured it out. I'm replacing " with ' and the error message keeps returning lines later in the file as I go. Sorry to bother you if this is really it. What a kick to figure out something on my own! Thanks. -PGriff
Using your specific code: print("<SELECT NAME=".$name.">n<OPTION VALUE=\"0\">Nonen"); PHP: Or slightly cleaner: echo "<SELECT NAME='$name'>n<OPTION VALUE='0'>Noen"; PHP: Both should work without syntax errors
Thanks for your advice. Is there a book you recommend for how to learn php and/or how to learn to think like a programmer (ie. programming logic)? PGriff