What is the difference between mysqli::query
and mysqli::real_query
?
OR
What is the difference between mysqli_query
and mysqli_real_query
?
mysqli::query
will return a result if there is any.
mysql::real_query
will return true on success or false if not
You could have seen this in the php doc: