Jump to content

a parse error i can't figure out


smartalco

Recommended Posts

I'm getting a parse error that i have no idea how to fix ->"Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in ***URL censored for site security***/add_member.php on line 112"line 112 is this ->$search_result = mysql_query("SELECT * FROM members WHERE l_name='$_POST['l_name']' AND f_name='$_POST['f_name]' ");anyone know what this is?

Link to comment
Share on other sites

i had this problem once , what i did whas set up variables for the posts like this:$l_name = $_POST['l_name'];$f_name = $_POST['f_name'];OR it might be possible u didn't finish the last line of code with a semicolon (:)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...