note 101481 deleted from class.sqlite3result by danbrown

From: Date: Sun, 19 Dec 2010 19:00:16 +0000
Subject: note 101481 deleted from class.sqlite3result by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175067@lists.php.net to get a copy of this message
Note Submitter: threedoff via gmail on com ---- Hey, thanks to contributors, but I think this is most correct check for rows in result: // if rows exist if (($result->numColumns() > 0) && $result->columnType(0) != "SQLITE3_NULL") { // yes } else { // no } The one provided by scally did not work for me. Check this one, did not test it on 0 rows though.

« previous php.notes (#175067) next »