Re: MySQL query error

From: Date: Sat, 07 Jul 2007 11:12:02 +0000
Subject: Re: MySQL query error
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-28173@lists.php.net to get a copy of this message
Not to mention that read would most likely be a tinyint(1), and thus shouldn't be fed a character. Stut wrote:
Please include the list when replying. James Blandford wrote:
It seems i have fixed it >_< thanks for your time thou. It turns out that I couldn't have "read" as a field name due to some random reason. I changed it to "itsread" and it works perfectly :0)
It wasn't a random reason - "read" is on the reserved words list: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html -Stut


« previous php.windows (#28173) next »