On Fri, Aug 24, 2001 at 10:06:20PM +0800, Orlando Andico wrote:

> $sth = $dbh->prepare ("INSERT INTO Registrants (Name, Desc)
>       VALUES (?,  ?)");

Oh, spite. You mean I _will_ have to use PreparedStatements in Java? They're actually 
a bit annoying. For some reason, I seem to remember not being able to use them more 
than once, and calling setString for each placeholder's... <sigh>

Okay, okay, fine, Best Practice.

I've tried to get by with a fixsql($s) in PHP, and since I've only used PostgreSQL and 
MySQL (no Oracle here! ;) )...

-- 
Sacha Chua <[EMAIL PROTECTED]>                       3 BS CS geek =)
Ateneo Cervini-Eliazo Networks (ACENT) tel: 63(2) 426-6001 loc 5925
BOFH excuse #185: system consumed all the paper for paging
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to