PHP + SQLite sqlite_exec and sqlite_query vs mysql_query

I understand that it is sqlite_execintended for queries that do not return a result set, but sqlite_queryfor queries that return a result set.

However, can I use sqlite_queryfor all kinds of queries, how and how mysql_query, and are there any side effects to this?

+3
source share
1 answer

sqlite_query

sqlite_query() . , . , . , sqlite_unbuffered_query().

sqlite_exec

; TRUE FALSE . , , . Sqlite_query().

, sqlite_query, , sqlite_query , . FALSE , , FALSE, TRUE, .

sqlite_unbuffered_query, PHP- , .

API C , .

+2

Source: https://habr.com/ru/post/1727185/


All Articles