RE: [PHP] Unable to get a form to update
| From: | Patrick Kirk | Date: | Fri, 23 Aug 2002 08:37:58 +0000 |
| Subject: | RE: [PHP] Unable to get a form to update | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113725@lists.php.net to get a copy of this message | ||
Thanks but it still doesn'y work.
Brad Dameron said:
> 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
>>
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php