In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
<snip>
> $connect = mysql_connect(xxxxxx); or die ("dBase not connect.")
<snip>
> $sql = "REPLACE CLIENT SET ID = \"$id\", ITEM = \"$item\", TITLE
> =\"$title\", AUTHOR = \"$author\", PUBLISHER = \"$publisher\", DELIVERY
> = \"$delivery\", QTY = qty\", PRICE = \"$price\", TOTAL_PRICE =
> \"$total_price\", DATE = \"$date\", RECORD\"$record\" WHERE RECORD =
> \"$record\"";
Check the manual at mysql.com for the "REPLACE" syntax. It's used like
"INSERT", not "UPDATE".
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]