Welcome Guest, Not a member yet? Register   Sign In
questions about forms
#5

[eluser]piranha_swe[/eluser]
hehe I have hardcoded 20 echos.

I try to create as much automated as possible but creating forms I havent found any good way loop them.
If you have any suggestion how to write something like this but that has 12 entries with diffrent type of form objects in some automated way I'd love to learn it.

I dont think an empty echo is much problem performence wise, not that I have noticed atleast.

<table cellspacing="1" bgcolor="#3a3a3a" cellpadding="4" width="700">
<tr>
<td colspan="2"><font class="orangetext_big"><b>Add new record</b></font></td>
</tr>

<tr>
<td bgcolor="#878787" align="left">Record label: </td>
<td bgcolor="#878787" align="left">&lt;input type="text" name="post[]" size="30" value="&lt;?php echo $posted[1]; ?&gt;" /&gt;
</td>
</tr>
<tr>
<td bgcolor="#878787" align="left">Artist: </td>
<td bgcolor="#878787" align="left">&lt;input type="text" name="post[]"size="30" value="&lt;?php echo $posted[2]; ?&gt;" /&gt;
</td>
</tr>


Messages In This Thread
questions about forms - by El Forum - 08-10-2009, 10:03 AM
questions about forms - by El Forum - 08-10-2009, 10:34 AM
questions about forms - by El Forum - 08-10-2009, 10:59 AM
questions about forms - by El Forum - 08-10-2009, 11:07 AM
questions about forms - by El Forum - 08-10-2009, 11:21 AM
questions about forms - by El Forum - 08-10-2009, 11:43 AM
questions about forms - by El Forum - 08-10-2009, 11:46 AM
questions about forms - by El Forum - 08-10-2009, 01:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB