DB class ( Prepare Memory )
| From: | Onur Yerlikaya | Date: | Thu, 12 Oct 2006 03:00:18 +0000 |
| Subject: | DB class ( Prepare Memory ) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-44456@lists.php.net to get a copy of this message | ||
Hi,
I think about sth today. Can we give a name to prepared sql for PEAR DB class ?
----------------------------------------------------------
/**
* Temporary Variable
*/
var $tmp;
----------------------------------------------------------
$db->prepare($sampleSqlQuery,$name);
when i call this function $sampleSqlQuery located at $this->tmp[$name]
= $sampleSqlQuery
and prepared sql codes can be access everytime?
Regards,
Onur Yerlikaya