You are here: Re: mysql UPDATE syntax « PHP SQL « IT news, forums, messages
Re: mysql UPDATE syntax

Posted by Mark D. Smith on 04/21/06 21:48

"Rich" <rich@newsguy.com> wrote in message
news:e2b2eg02ueb@drn.newsguy.com...
> On Fri, 21 Apr 2006 17:17:25 +0100, Mark D. Smith wrote...
<snip>
>
>
> The syntax for an UPDATE is a bit different than an INSERT. It should look
> closer to this, replacing "......" with the rest of the updates
>
> UPDATE job_adverts SET
> ID = '$ID',
> Posted_ID = '$Posted_ID',
> Date_Posted = '$Date_Posted',
> ......
> views = '$views'
> WHERE ID = '$ID';
>
>
> Rich
>
>
> --
> NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
>

Thanks Rich that's fixed it up nicely.

Mark

 

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

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