Hi, In the attached file I've a problem with the update-procedure. The procedured gets its values from a formular an should update an articlerecordset as needed. After update I get not the result of the updating, the old value is stored in the database. How have I to rewrite the lines for proper work. Regards, Ruprecht------------------------------------------------------------------------ Ruprecht Helms IT-Service & Softwareentwicklung Tel./Fax +49[0]7621 16 99 16 Web: http://www.rheyn.de email: info@xxxxxxxx
<? echo "Artikelid "; echo $id; echo " Chorid "; echo $chorid; echo " Beschreibung "; echo $beschreibung; echo " Preis "; echo $preis; mysql_connect("localhost","web172","fbn7__1"); //$result=mysql_db_query("usr_172_1","UPDATE artikel SET Beschreibung='$beschreibung' WHERE Chorid=$chorid AND ID=$id"); $result=mysql_db_query("usr_172_1","UPDATE artikel SET Preis='\$preis\' WHERE ID='\$id\'"); //mysql_error($result); ?>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php