in reply to Testing to see if a MySQL query is true

$sth->execute will return the number of rows it affects, however it its valid SQL it will return 0E0 instead of 0
  • Comment on Re: Testing to see if a MySQL query is true