Topic awaiting preservation: Dreamweaver CS3 + Database + Help |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Swansea, Wales, UK |
posted 11-25-2007 23:24
Hi Folks, |
Paranoid (IV) Inmate From: f(x) |
posted 11-25-2007 23:51
If the values of that dropdown equal the unique IDs within the database, you can use a query like this: code: UPDATE `table` SET `col1`='val1',`col2`='val2'... WHERE `id`=[the value what you selected in the dropdown] LIMIT 1
code: $query = 'UPDATE `table` SET `col1`=\'val1\',`col2`=\'val2\'... WHERE `id`='.$_POST['contract'].' LIMIT 1';
|
Paranoid (IV) Inmate From: Swansea, Wales, UK |
posted 11-26-2007 01:48
Thats great. I am sure that correct as it was mentinoed by someone that i will need to be using UPDATE. just need to figure out what i am to do with it. |
Paranoid (IV) Inmate From: f(x) |
posted 11-26-2007 06:01
This may help in your journey: |
Paranoid (IV) Inmate From: Swansea, Wales, UK |
posted 11-27-2007 01:44
Thanks for the link Zav, however i beat you to it, lol. Still all greek to me, but i'm enjoying myself all the same |