Re: Problems with UPDATE
hello
I've seemed have to solve the problem myself after some trial end error coding. If I use the following code it works:
$query = "UPDATE `tidbokning` SET `$_POST[uppdatera]`= '$info_att_uppdatera' WHERE id = '1'";
A version of this is also what phpmyadmin wants as the suggested php code:
$query = 'UPDATE `tidbokning` SET `$_POST[uppdatera]`= "$info_att_uppdatera" WHERE `id` = '1';
However, in the above code the variables doesn't get evaluated and that's NOT what we want isn't!?
Well, anyway, hopefully anyone out there will get som help form me solving my own problems in the open :-)
/Thomas
Subject
Written By
Posted
Re: Problems with UPDATE
June 11, 2005 01:10PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.