Skip to content Skip to sidebar Skip to footer

Parse Error: Syntax Error, Unexpected 'mysql_query' (T_STRING) In

I am new in php i am getting this error while updating one of the column of the table if(isset($_POST['approved'])) { $change='SELECT * FROM `workplan`'; $forchange=my

Solution 1:

It is really hard to find these types of errors in code but this error only occurs when you miss some type of symbol in code.

I also stuck in that error

Parse error: syntax error, unexpected 'sorry' (T_STRING) and removing this by just addining " into my code

before adding (") this

 $sql = "select * from user_profiles where email = '$email';

afetr adding (")

$sql = "select * from user_profiles where email = '$email'";

Post a Comment for "Parse Error: Syntax Error, Unexpected 'mysql_query' (T_STRING) In"