[PHP-DB] Re: MySQL Update help needed

2002-02-02 Thread Joe Van Meer
did test to see if $id was actual the value you were expecting? is $id an auto increment field? Chris Payne [EMAIL PROTECTED] wrote in message 000c01c1a23a$ef779900$0200a8c0@chris">news:000c01c1a23a$ef779900$0200a8c0@chris... Hi there, Can anyone see what is wrong with this query? I am trying

[PHP-DB] RE: MySQL Update help needed

2002-01-21 Thread Adam Royle
A few things to check: 1. You have a connection to the database (I'm assuming you do). 2. mysql_query() is a php function so you should not put a dollar sign before it (indicating it is a variable. If you want mysql_query() to return a variable, do something like this: $result =