Skip to main content
added 4 characters in body
Source Link

We need to use $db->exec($query);$db->exec($query); instead of $db->query($query);$db->query($query);. It returns the number of affected rows.

We need to use $db->exec($query); instead of $db->query($query);. It returns the number of affected rows.

We need to use $db->exec($query); instead of $db->query($query);. It returns the number of affected rows.

Source Link

We need to use $db->exec($query); instead of $db->query($query);. It returns the number of affected rows.