storing a mysql query in mysql

From: Date: Wed, 17 Feb 2010 16:48:06 +0000
Subject: storing a mysql query in mysql
Groups: php.general 
Request: Send a blank email to php-general+get-302160@lists.php.net to get a copy of this message
Whats the best way to store a mysql query in mysql. I'm trying to store a mysql query in a debug log table if there is a problem with the query. I've tried using addslashes and a few other commands. I don't have a problem putting the data into the database but when I view it with sqlyog its f'ed up beyond belief. Is there another/better way to store this information? Thanks, Matt

« previous php.general (#302160) next »