Re: update more "same" fields at the same time

From: Date: Wed, 15 Jan 2003 10:48:08 +0000
Subject: Re: update more "same" fields at the same time
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-131669@lists.php.net to get a copy of this message
> What do you mean with "update more "same" fields at the same time"?Can > you give us an example? > > Gvre > <form name="form1" method="post" action=""> <? $query1 = "SELECT * FROM table where subcat = $_GET[a]"; $result1 = mysql_query($query1); while($row = mysql_fetch_object($result1)) { ?> <p> <input name="textfield" type="text" value="<? echo $row->oid; ?>"> <input name="textfield1" type="text" value="<? echo $row->url; ?>"> </p> <? } ?> <p> <input type="submit" name="Submit" value="Submit"> </p> </form> now i want to change values of texfields and update them back to mysql.

« previous php.general (#131669) next »