Page 1 of 1

SQLite php functions

Posted: Sat Jun 30, 2012 6:21 pm
by ud3webdev
im looking for the SQLite php functions for

mysql_result and mysql_fetch_assoc

i could not find it on google theres been talk about it about nothing conclusive didnt know if anyone on this forum knew.

here are 2 examples of what function in use:
mysql_fetch_assoc(sqlite_query("SELECT $feilds FROM `users` WHERE `user_id` = $user_id"));
	return $data;
return sqlite_num_rows(sqlite_query("SELECT `user_id` FROM `users` WHERE `extension` = '$extension'"), 0, 'user_id');

Re: SQLite php functions

Posted: Sun Jul 01, 2012 1:17 am
by jacek
There is sqllite_num_rows() http://www.php.net/manual/en/function.s ... m-rows.php I would look at the full list on php.net here http://www.php.net/manual/en/ref.sqlite.php and see which ones have similar names to the mysql_ versions ;)