Re: Please help..
- From: Frank van Meurs <Frank.vanMeurs@xxxxxxxxxx>
- Date: Mon, 17 Jul 2006 02:55:18 +0200
Rik wrote:
fjm67 wrote:[SNIP...]
if(isset($_POST['submit'])){[SNIP...]
foreach($_POST['text'] as $id => $text){
mysql_query("UPDATE tbl_name SET `text` = '{$text}' WHERE `id` =
$id");
}
}
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
.
- Follow-Ups:
- Re: Please help..
- From: Rik
- Re: Please help..
- References:
- Please help..
- From: fjm67
- Re: Please help..
- From: Rik
- Please help..
- Prev by Date: Re: Handling sessions through cookies, is it safe?
- Next by Date: Re: Duplicate records added from post forms, easy solutions?
- Previous by thread: Re: Please help..
- Next by thread: Re: Please help..
- Index(es):
Relevant Pages
|