note 116556 added to function.sqlite-num-rows
| From: | contacto at eutiximo dot com | Date: | Thu, 22 Jan 2015 04:20:02 +0000 |
| Subject: | note 116556 added to function.sqlite-num-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201493@lists.php.net to get a copy of this message | ||
La función numRows en SQLite3 no sirve
lo mas viable es usar la siguiente expresión para contar el contenido de filas existentes en una
tabla SQLite3:
$db = new SQLite3('database.db');
$num_rows = $db->querySlingle("SELECT COUNT(*) as count FROM nameDataBase;");
echo $num_rows;
espero les funcione, saludos desde la cuidad de México.
by eutiximo systems
----
Server IP: 72.52.91.14
Probable Submitter: 189.217.79.20
----
Manual Page -- http://php.net/manual/en/function.sqlite-num-rows.php
Edit -- https://master.php.net/note/edit/116556
Del: integrated -- https://master.php.net/note/delete/116556/integrated
Del: useless -- https://master.php.net/note/delete/116556/useless
Del: bad code -- https://master.php.net/note/delete/116556/bad+code
Del: spam -- https://master.php.net/note/delete/116556/spam
Del: non-english -- https://master.php.net/note/delete/116556/non-english
Del: in docs -- https://master.php.net/note/delete/116556/in+docs
Del: other reasons-- https://master.php.net/note/delete/116556
Reject -- https://master.php.net/note/reject/116556
Search -- https://master.php.net/manage/user-notes.php