On Monday 24 June 2002 13:03, David Robley wrote:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
> > I can't get UPDATE to work properly when querying MySQL.
> >
> > $query = "UPDATE $table SET field1='$var1' WHERE id='$id'";
> >
> > I want to update one field of one row in a table.
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> I can't get UPDATE to work properly when querying MySQL.
>
> $query = "UPDATE $table SET field1='$var1' WHERE id='$id'";
>
> I want to update one field of one row in a table. Is this syntax
> correct?
>
if id is an int type, no. You o
Phil Schwarzmann wrote:
> I can't get UPDATE to work properly when querying MySQL.
>
> $query = "UPDATE $table SET field1='$var1' WHERE id='$id'";
>
> I want to update one field of one row in a table. Is this syntax
> correct?
>
yes
--
PHP General Mailing List (http://www.php.net/)
To unsu
3 matches
Mail list logo