Parse error "unexpected T_STRING "
Posted: Mon Jul 02, 2007 4:29 pm
Hi everyone,
I am a newbie at programming so I would appreciate any help I can get! I'm sure its very simple but I don't have enough knowledge to fix it:
For some reason, I get an unexpected T_STRING error for the following code: (I am trying to extract information from a database)
$sql = “SELECT user_name FROM Valid_User
WHERE user_name = ‘$user_name’
AND password = md5(‘$user_password’)”;
Does anyone know what is wrong?
Thanks!
I am a newbie at programming so I would appreciate any help I can get! I'm sure its very simple but I don't have enough knowledge to fix it:
For some reason, I get an unexpected T_STRING error for the following code: (I am trying to extract information from a database)
$sql = “SELECT user_name FROM Valid_User
WHERE user_name = ‘$user_name’
AND password = md5(‘$user_password’)”;
Does anyone know what is wrong?
Thanks!