You are here: Re: Trouble escaping / Misc nightmare « PHP Programming Language « IT news, forums, messages
Re: Trouble escaping / Misc nightmare

Posted by Marcin Dobrucki on 06/29/05 11:24

Ian Rastall wrote:
> On 28 Jun 2005 12:32:57 -0700, "saint exupery"
> <cristian.melendez@gmail.com> wrote:
>
>>'Group' is an invalid name for a column! (mysql get confused with the
>>"GROUP BY" clause).
>
> LOL. Thank you so much. That would probably not have occurred to me in
> a hundred years! :-)

When in doubt what my php/mysql combo is trying to do, I restart
mysql with "--log=/tmp/dumplog" option, and then can see what exactly is
passed to mysql from the script. After that, I can fire away the mysql
client, and copy/paste queries, and investigate at leisure.

/m

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация