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 `workpla
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'";
You're missing a semi-colon:
$dep=$infoChange['division name'] <--HERE