i have code, and that code generate this syntax:
$sql = "INSERT.....,; INSERT......,; INSERT.....,; INSERT......;";
if(mysqli_multi_query($connection,$sql)){
echo "SUCCESS!";
}else{
echo "FAILED!";
}
how to know ALL INSERT IS SUCCESS from mysqli_multi_query()?,
mysqli_multi_query return a bool (true or false), but if i have many INSERT in that function and Only 1 entered from some INSERT, that function is return TRUE.
I want to make sure all the commands run perfectly.