You are here: Re: Please help.. « PHP Programming Language « IT news, forums, messages
Re: Please help..

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация