Is this just an issue when there's a problem connecting to the database? (I do check to see if the database connection was successful). Assuming that I do enough checks to ensure that my queries are always valid, is it ever okay to skip the following check:
if($stmt = $db->prepare($query)) { //more code } and instead just do:
$stmt = $db->prepare($query); //more code I'm thinking that transactions might make this okay, but my database tables doesn't support transactions (I'm using MyISAM because I'm doing a lot more db reading than writing).