When I do:
$q = 'insert into movies values("lion king"); select * from movies;';
$result = $db->query($q);
echo mysqli_num_rows($result);
it says that $result is boolean, not mysqli result. if I check $result like this:
if(!$result) echo 'fail';
it outputs 'fail'.
Is mysql not capable of handling more than 1 query at a time? How do I solve this?