ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:learn_caching:adodb_coding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
v5:userguide:learn_caching:adodb_coding [2016/03/29 01:22] mnewnhamv5:userguide:learn_caching:adodb_coding [2016/03/29 04:56] (current) mnewnham
Line 14: Line 14:
 */ */
 $sql = 'SELECT code,description FROM xref_table'; $sql = 'SELECT code,description FROM xref_table';
-$db->cacheExecute(2400,$sql);+$db->cacheGetAssoc(2400,$sql);
 </code> </code>
  
 +The response from the cache functions is exactly the same as the normal functions.
v5/userguide/learn_caching/adodb_coding.txt · Last modified: 2016/03/29 04:56 by mnewnham