Re: update multiple columns
There is only one column you can (or should) update.... the Content column. the ID column is your primary key, so you really shouldn't be changing that. ....so... I'm not sure what the problem is... unless there's more to the table structure that you're not telling us. Also, the use of ud_date as the ID field in the post form seems counterintuitive. I would expect something called ud_date to contain a date value...
-tg
Re: update multiple columns
yes boss that content column only,
i want to update that content columns with different text.
Re: update multiple columns
Are you saying you want your data to look like this:
+----+---------+
| id | content |
+----+---------+
| 2 | new |
+----+---------+
| 14 | new |
+----+---------+
updating id=2 and id=14 to a new value?