Hello Andreas, > I just encountered the following: let $a be a numeric php expression, a > the corresponding integer field in a table. When I say: "UPDATE table > SET a=$a" it denies the update. When I say: "Update table SET a='$a'" it > performs the update. Uhm, now I am wondering. Isn't 'something' supposed > to be a string?
Agreed. What does the SQL CREATE statement look like? What does PHP's assignment of value to $a (and relevant statements leading up to it) look like? Are you sure (the PC thinks) they are both integers? Please advise, =dn --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php