RE: [PHP] Unable to get a form to update
| From: | Brad Dameron | Date: | Thu, 22 Aug 2002 21:05:44 +0000 |
| Subject: | RE: [PHP] Unable to get a form to update | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113678@lists.php.net to get a copy of this message | ||
WHERE person_id=$person_id";
this needs to be:
WHERE person_id='$person_id'";
SQL items need to be single quoted.
---
Brad Dameron Network Account Executive
TSCNet Inc. www.tscnet.com
Silverdale, WA. 1-888-8TSCNET
> -----Original Message-----
> From: Patrick Kirk [mailto:patrick@kirks.net]
> Sent: Thursday, August 22, 2002 1:03 PM
> To: php-general@lists.php.net
> Subject: [PHP] Unable to get a form to update
>
>
> Hi all,
>
> I've written a really simple contact management system that seems to work
> perfectly except for updating. Any changes to the contact record can't be
> fed back to the database.
>
> I'd be very grateful if someone would take a look at a text version of the
> system and suggest where I am going wrong.
>
> Thanks in advance.
>
> http://captain.kirks.net/rhino/contacts.txt
>
>
> --
> Patrick
>
> GSM: 07876 560 646
>
> Diplomacy is the art of saying "Nice doggie" until you find a rock
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>