You are here: Re: multiple updates « PHP SQL « IT news, forums, messages
Re: multiple updates

Posted by Sean on 12/12/06 16:37

How do you populate the query string?

If you are building the string in code ... watch out for quotes in the text
which interfere ...

UPDATE user SET surname = 'O'neil'

Previous poster did miss out a quote
UPDATE user SET name='value', lastname='value',
city='value' WHERE id='value

Perhaps you could post the exact query you have so that we can see....

BTW; make 100% sure that the table and fields are correctly spelt.

Sean


"ulyx" <new_one@hotmail.com> wrote in message
news:elmkuf$i3e$1@ss408.t-com.hr...
>I have tryed thise before posting, but its not working :-(
> ----------------------------------------
>
>
>> UPDATE user SET name='value', lastname='value', city='value WHERE
> id='value
>>
>> http://dev.mysql.com/doc/
>>
>> +e
>>
>>
>
>

 

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

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