i have a combo box on a web page that gets all the companies names from a
mysql table and puts them in the combobox.. when someone picks a name and
hits an edit button it takes them to a form where all the values in the
table fields for that record are shown as default values for the form
fields. my problem is when someone changes a value say the city or state
(but it happens with any of the fields) and if for some reason they change
it to the same value that was already in the record then all of the records
get changed and updated to show that every records have the same values for
all fields...

does anybody know why that is and possible how to fix that problem so only
that record gets changed? my source is rather huge in size and since i cant
find the place where the problem is coming from it would be hard to post all
the source here..

can anybody help?

my update statement has all 16 fields in it because i dont know if you can
do conditional updates with variables and if you can how to do that...




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to