PHP/MySQL Database/sqlite num rows
Версия от 10:37, 26 мая 2010; (обсуждение)
sqlite_num_rows.php
<?php
$sqldb = sqlite_open("mydatabase.db");
$results = sqlite_query($sqldb, "SELECT * FROM employee");
echo "Total rows returned: ".sqlite_num_rows($results)."<br />";
sqlite_close($sqldb);
?>