Re: MDB debug
| From: | Jeroen Houben | Date: | Mon, 05 May 2003 11:50:09 +0000 |
| Subject: | Re: MDB debug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5236@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
I just thought sometime ago you said you were going to incorporate the & and ! as well and I was just wondering if you had. Are you still going to? JeroenFrom: Jeroen Houben [mailto:jeroen@terena.nl] Sent: Monday, May 05, 2003 1:25 PMAlright, so that's now working fine, thanks. Still don't understand why the ! sign in:PEAR::MDB only supports the '?' placeholder. ! and & are PEAR::Db specific. MDB's ? is pretty much what ! is to PEAR::DB. You are responsible to do any sort of conversions, either by using the get*Value methods or passing an array with types. I've got it working now, just passing an array of types. Thanks.$query = 'UPDATE docsections SETsection_id='.$db->getIntegerValue($move_to).' WHERE doc_id=!'; doesn't work. Another bug?