|
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]
|