Posted by Frank van Meurs on 07/17/06 00:55
Rik wrote:
> fjm67 wrote:
[SNIP...]
> if(isset($_POST['submit'])){
> foreach($_POST['text'] as $id => $text){
> mysql_query("UPDATE tbl_name SET `text` = '{$text}' WHERE `id` =
> $id");
> }
> }
[SNIP...]
I'm probably missing out on somthing here, but why would one want to do
this? Surely you don't want to update rows depending on user input,
especially when the possible input was based on the data you provided
yourself in the first place?
F
[Back to original message]
|