I am talking server-side. For PHP in Lianja I would use something like:

rs = db->openRecordset("select * from mytable")

but I don’t see where to pass in the arguments, in like regular php it works like this:

$sql  = 'select * from clients where clientid = ?';
$data = array(53);

$res =& $db->query($sql, $data);

Well openRecordSet() does not support parameter markers. It’s not the same as query() which is included in from an external PHP library or extension (possibly PDO).
Just build up the character variable and give it as the argument to openRecordSet().

Categories PHP

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s