phpsqlite_num_fields的例子
时间:2021-07-01 10:21:17
帮助过:1人阅读
- /**
- * sqlite_num_fields函数举例
- * edit: bbs.it-home.org
- *
- */
- $sqldb = sqlite_open("mydatabase.db");
- $results = sqlite_query($sqldb, "SELECT * FROM employee");
- echo "Total fields returned: ".sqlite_num_fields($results)."
"; - sqlite_close($sqldb);
- ?>
|