adodb 1.10 released

From: Date: Sat, 19 May 2001 11:54:30 +0000
Subject: adodb 1.10 released
Groups: php.general 
Request: Send a blank email to php-general+get-53514@lists.php.net to get a copy of this message
http://php.weblogs.com/adodb Database wrapper library 1.10. Now supports cached recordsets. Example below: include('adodb.inc.php'); include('tohtml.inc.php'); $ADODB_CACHE_DIR = '/usr/local/adodbcache'; $conn = &ADONewConnection('oracle');/* Oracle 8, use 'oci8' */ $conn->PConnect('','scott','tiger'); $rs = $conn->CacheExecute(15,'select * from table'); rs2html($rs); /* recordset to html table */ The 15 in CacheExecute() indicates that the recordset will be cached for 15 seconds. Subsequent calls with this SQL statement will use the cached results until the 15 seconds expires.

« previous php.general (#53514) next »