Mailinglisten-Archive |
Hallo, irgendwie raffs ich net, aber wieso geht folgendes nicht?
mysql_query("select * from $userstable where id='$nr'") or die(mysql_error());
$insert = "replace into artikel where (id = '$nr') (headline,
text) values('$headline','$text')";
mysql_query($insert);
Er replaced nämlich gar nichts.
Mark
--
Tipps & Infos zu PHP http://www.php-homepage.de
Internetcafe in Stuttgart http://www.surfing-planet.net
German Gabber Network _(at)_ http://www.gabber.de
----------------
Sent from a WebBox - http://www.webbox.com
FREE Web based Email, Files, Bookmarks, Calendar, People and
Great Ways to Share them with Others!
php::bar PHP Wiki - Listenarchive