SQLite php functions

Ask about a PHP problem here.
Post Reply
ud3webdev
Posts: 4
Joined: Thu Jun 28, 2012 1:39 pm

SQLite php functions

Post 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');
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: SQLite php functions

Post 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 ;)
Image
Post Reply