phpbar.de logo

Mailinglisten-Archive

[php] Replace

[php] Replace

Mark Kronsbein mk_(at)_html-design.com
Mon, 20 Mar 2000 06:53:18 -0800


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