84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
$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)){}