Replace Error
Posted: Wed Sep 25, 2002 11:02 pm
Ok, Here is my code...
How do i make it replace the row? if i take off the `article_num` and (`". $_POST['id'] ."` then it makes a new one but how do i replace it so that it replaces the old one?
Code: Select all
REPLACE INTO `Articles` (`article_num`, `state`, `area`, `name`, `author`, `issue`, `desc`, `article`) VALUES (`". $_POSTї'id'] ."`, '$state', '$area', '$name', '$author', '$issue', '$desc', '$article');