You are here: Re: [PHP] is this the correct syntax « PHP « IT news, forums, messages
Re: [PHP] is this the correct syntax

Posted by Mathieu Dumoulin on 05/05/05 16:24

Prathaban look carefully, we are here to give acurate info and you are
giving mistaken information. The "$id" thing is wrong, you'll actually
create a parse error X|

....

Prathaban Mookiah wrote:
> It should be "$id".
>
> Note that missing "
>
>
> Prathap
>
>
> ---------- Original Message -----------
> From: "Ross" <ross@aztechost.com>
> 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='$fname', sname='$sname'
>>WHERE id= $id";
>>
>>R.
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
> ------- End of Original Message -------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация