[sqlite] fetchObject in Sqlite3

2013-09-26 Thread pisey phon
Dear All, Would you mind if I want to ask you a question? Could I use method fetchObject() in Sqlite3? If Can use it, Could you give me an example, please??? Thanks in advance. Pisey phon -- View this message in context: http://sqlite.1065341.n5.nabble.com/fetchObject-in-Sqlite3-tp71494

Re: [sqlite] Problem with method numRows() in Sqlite3

2013-09-26 Thread pisey phon
Thanks you . -- View this message in context: http://sqlite.1065341.n5.nabble.com/Problem-with-method-numRows-in-Sqlite3-tp71420p71495.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] Problem with method numRows() in Sqlite3

2013-09-24 Thread pisey phon
And now I have an error with insert data into database with Sqlite3. Errro: "SQLite3::exec() [sqlite3.exec]: near "SET": syntax error". I a a new with Sqlite3 here is my code: open($db_file); } public function connecting($db){ if(!$db){

Re: [sqlite] Problem with method numRows() in Sqlite3

2013-09-24 Thread pisey phon
thanks you so much for replying it really help me -- View this message in context: http://sqlite.1065341.n5.nabble.com/Problem-with-method-numRows-in-Sqlite3-tp71420p71439.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users

[sqlite] Sqlite3

2013-09-23 Thread Pisey Phon
Dear sqlite users I have some problem with Sqlite3. Would you mind if I want to ask you a question? I got an error like this: Call to undefined method Sqlite3Result:: numRows(). Here is my code: $db = new Sqlite3("sample.db"); $result = $db->query("select * from table"); $rows =

[sqlite] Problem with method numRows() in Sqlite3

2013-09-23 Thread pisey phon
"); $rows = $result->numRows(); Please help me. Thanks in advance. Pisey Phon Junior Web Developer. -- View this message in context: http://sqlite.1065341.n5.nabble.com/Problem-with-method-numRows-in-Sqlite3-tp71420.html Sent from the SQLit