[SOLVED] Parse Error with mySql Delete statement
Posted: Wed Apr 07, 2004 12:14 pm
Here is the error im getting:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' on line 26
Here is my Delete Statement:
I don't see whats wrong with this... And the error confuses me about the expecting ] ....
Any ideas?
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' on line 26
Here is my Delete Statement:
Code: Select all
$sql = "DELETE FROM $table_name WHERE user_id ='$_POST[user_id ]'";I don't see whats wrong with this... And the error confuses me about the expecting ] ....
Any ideas?