Re: storing a mysql query in mysql
[email protected] (Shawn McKenzie)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
Matt Giddings wrote: > 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 > What's f'ed up? I mean, I know what it means, but what does it look like when you view it? -- Thanks! -Shawn http://www.spidean.com