hould be "$id".
Note that missing "
Prathap
-- Original Message ---
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 12:09:18 +0100
Subject: [PHP] is this the correct syntax
Am trying to do an update of a record...
essage ---
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 12:09:18 +0100
Subject: [PHP] is this the correct syntax
Am trying to do an update of a record...
Is this the correct syntax..
$query= "UPDATE $table_name SET fname='$fn
It should be "$id".
Note that missing "
Prathap
-- Original Message ---
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 12:09:18 +0100
Subject: [PHP] is this the correct syntax
> Am trying to do an upda
Am trying to do an update of a record...
Is this the correct syntax..
$query= "UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id=
$id";
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo