|
Posted by Dan Lowe on 08/14/05 07:43
On Aug 13, 2005, at 8:35 AM, edwardspl@ita.org.mo wrote:
> <table>
> <tr>
> for($i=1;$i<5;$i++)
This means:
* Start with $i = 1
* End loop if $i is less than 5
* Increment $i each time around
So your loop is ending at the first check because $i is less than 5.
You want $i > 4 instead, I think.
-dan
> {
> <td><input type=checkbox name='f<? echo $i;?>[]' value='1'></td>
> }
> </tr>
> </table>
>
> Only display the result of zero array, eg :
> f1[0]
> f2[0]
> f3[0]
> f4[0]
>
> So, how to write the source (Web page - when user click the submit
> button) by using loop ?
--
Hey, did you hear? They took "gullible" out of the dictionary!
Navigation:
[Reply to this message]
|