saggy - 7:27 am on Apr 11, 2013 (gmt 0)
Hi, I'm building a password database that stores passwords as MD5 hashes and plain text.
UPDATE people SET password=(MD5('password')),decryptpass="password" WHERE firstname="John" AND surname="Smith";
works fine from the command line, but the identical line (in single quotes or double quotes) fails in my php script, with the message "Parse error: syntax error, unexpected T_STRING in E:\Server\htdocs\newpw.php on line 43".
Any ideas why?