This is a discussion on Change database values within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have a script that outputs all the values on a certain row in a MySQL table. I would to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a script that outputs all the values on a certain row in a MySQL
table. I would to be able to change those values. I don't need any login authentication or anything, I just want the simplest and easiest way to edit the values. I want to be able to edit multiple ones at a time. What do you guys think would be the best way to go about doing that? Thanks. -- TresWBL telconstar99@NOSPAMhotmail.com |
|
|||
|
MySql function UPDATE
like this UPDATE $tablename ($field1, $field2,....) VALUES ($value1, $value2, ....) WHERE (primarykey = $key_to_update) "TresWBL" <telconstar99@NOSPAMhotmail.com> wrote in message news:<rjZmb.480$pH3.446@newssvr22.news.prodigy.com >... > I have a script that outputs all the values on a certain row in a MySQL > table. I would to be able to change those values. I don't need any login > authentication or anything, I just want the simplest and easiest way to edit > the values. I want to be able to edit multiple ones at a time. What do you > guys think would be the best way to go about doing that? Thanks. |
|
|||
|
pouzzler wrote:
> MySql function UPDATE > like this > > > UPDATE $tablename ($field1, $field2,....) VALUES ($value1, $value2, > ...) WHERE (primarykey = $key_to_update) > I don't quite follow. What is field1 and 2? Are those column names? value1 and 2 would be what I wanted it changed to? And key would be the what? The column I wanted to update? Thanks. -- TresWBL telconstar99@NOSPAMhotmail.com |