Thursday, 12 September 2013

MySQL query not working after adding AND operator

MySQL query not working after adding AND operator

I'm pretty sure i messed up the quotes, but can't find where exactly. It
stopped working after adding the AND operator. Can anybody guide me to the
right direction?
$result = mysql_query("SELECT * FROM pl_table WHERE p_num=".$w[0] AND
l_num='.$w[0]);

No comments:

Post a Comment