You are here: Re: Does not update, but cannot find why « PHP SQL « IT news, forums, messages
Re: Does not update, but cannot find why

Posted by Juegen Koenig on 02/04/07 20:53

Juegen Koenig wrote:

> Hi
>
> I have two lines in my script on updating a set in a table. The lines are
>
> $query="UPDATE TelefonEmail SET Haus=$haus, Handy=$handy WHERE Nr=$nr";
> $dummy=mysql_query($query);
>
> It does not update and I cannot find out why. I have done a
> echo $query
> and the line looks totally correct. How can I make mysql tell me, why it
> is not updating.

Sometimes you are blindfoldet. Just after I send the posting off it fell of
my eyes. the line should be

$query="UPDATE TelefonEmail SET Haus='$haus', Handy='$handy' WHERE Nr=$nr";

and it works.

Jürgen

 

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

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