i dont finally understand mate what do need, load the values already filled, when the form is not sent because of an error?
you can try something like this for($i=0;$1<5;$i++) { <input type=\"text\" name=\"text[$i]\" value="\".(isSet($_POST["text[$i]"]) ? $_POST["text[$i]"] : "")."\"> } if that is what you need, if no, you can write to me in spanish, and explain better in spanish ;) regards ------------------------------------------------------------------ "Few are those who see with their own eyes and feel with their own hearts." Albert Einstein ----------------------------------------------------------------- Maciek Ruckaber Bielecki On Tue, 31 Dec 2002, Alexander Guevara wrote: > hi.. i have this and i cant get it work!!.. > > > HERES THE CODE > ---------------------------------------------------------------------------- > ----------------------------------- > for ($i=1;$i<11;$i++){ > echo"<tr height='40px'> > > <td class='contenido' width='40%'><b>TEXT</b> > <input type='text' name='nom$i' value='$nom$i'> > </td> > </tr>"; > } > ---------------------------------------------------------------------------- > --------------- > > > so what i need is that the output in HTML shows tha value as is.. for > example the output of the code above is like this (im going to show only > the input part thats the one i need to resolve!) > > <input type='text' name 'nom1' value='1'> > > Remember the number depends on the $i.. i only showing one... > thats what that code generates... what i need is like this: > > <input type='text' name 'nom1' value='$nom1'> > > > So in conclusion what i need is the "$nom1" for retrieving the value of that > variable later if an error ocurrs during a trasanction: (when an error > occurs and i have to go back to thhis page) > > > Thanks in advance! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php