$result=mysqli_query($sql,$con)
if($row=mysqli_fetch_assoc($result){}
Why is the if condition not executed?
Is that a comma or a comma?
If no error is reported, it means that it has been executed.
You can print the contents of $result. Also,
Are you sure that the two parameters of your mysqli_query are not misplaced? ? ? ? ?
if($row=mysqli_fetch_assoc($result){}
There are missing brackets, you should see the system prompts to find it!
Correct: if($row=mysqli_fetch_assoc($ result)){}
Is that a comma or a comma?
If no error is reported, it means that it has been executed.
You can print the contents of $result. Also,
Are you sure that the two parameters of your mysqli_query are not misplaced? ? ? ? ?
if($row=mysqli_fetch_assoc($result){}
There are missing brackets, you should see the system prompts to find it!
Correct: if($row=mysqli_fetch_assoc($ result)){}