Andrew Hutchings wrote: > I prefer prepared statements and would use them all the time if > it wasn't for the fact that those queries aren't cached until > recent versions of MySQL 5.1 Use PDO. It emulates prepared statements and doesn't avoid the query cache: $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, TRUE); For more information: http://netevil.org/blog/2006/apr/using-pdo-mysql Hope that helps. Chris -- Chris Shiflett http://shiflett.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php