Re: Re: All executed queries in DB (Common?)

From: Date: Wed, 19 Apr 2006 09:51:49 +0000
Subject: Re: Re: All executed queries in DB (Common?)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23740@lists.php.net to get a copy of this message
(Sorry Mark, now posted to the list :| ) I updated Table.php from CVS and fixed some erros I apparently had in my DB_Table config. It works! DB_Table (with CVS patch) works with MDB2! ;) But I have another question related to the originally subject. After $obj->update() I see the queries prepared and executed in my debug info, but both with the questionmarks:
# query(1): SHOW /*!50002 FULL*/ TABLES
# prepare(1): UPDATE bet SET user_id = ?, title = ?, price = ?, odd = ?, participants = ?, enddate = ?, id = ?, created_at = ?, updated_at = ? WHERE id = '2' # execute(1): UPDATE bet SET user_id = ?, title = ?, price = ?, odd = ?, participants = ?, enddate = ?, id = ?, created_at = ?, updated_at = ? WHERE id = '2' <<< Prepared query I understand, but the executed should be with the actual values? The record is updated. So it works, but that final query I can't see. Thanx for the explanation. Regards, - Charlie http://www.pear-forum.org On 18 Apr 2006, at 18:52, Mark Wiesemann wrote:
[FYI: This is a copy of a message posted to <news:php.pear.general> Message-ID: <b5nkgkn9rc8y$.c4orxf5l2lcd.dlg@40tude.net>] Charlie van de Kerkhof wrote:
Warning: fopen(MDB2/Driver/Extended/mysqli.php) [failed to open stream: No such file or directory Errtype: Warning File: /usr/local/php5/lib/php/MDB2.php Line: 873
Please try Table.php from CVS, the problem should be fixed there. http://cvs.php.net/viewcvs.cgi/pear/DB_Table/DB/Table.php Regards, Mark


« previous php.pear.general (#23740) next »