Hi there,
I have a problem updating a record. I'd like to give my clients an option where they can update their records, but when I use the replace into statement it does not get executed! Let me show an example. You have the following fields:
IDnumber (unique identifier)
name
description
address
email address
title
the statement reads:
REPLACE INTO tbl_name SET IDnumber=$idnumber,name=$name,
address=$address;
I've let out 3 fields (could this be the problem?) and also I want to now if you could add a WHERE clause. I can't see how MySQL will know which record to update.
Thanx
Stiaan