|
Posted by Captain Dondo on 04/17/06 03:44
On Sat, 15 Apr 2006 01:08:23 +0200, Henk Verhoeven wrote:
> Hi Captain,
>
> Something like this:?
>
> for ($count=1; $count<$max; $count++) {
> $subArray = $myArray[$count];
> print "
> <td><input name='brgf$count' type=text value='$subArray[brgf]'
> maxLength='5' size='5'></td>
> > <td><input name='brgt$count' type=text value='$subArray[brgt]'
> maxLength='5' size='5'></td>
> (..)
>
> Of course your array would have to be two-dimensional like:
> $myArray[1]['brgf'] = 0.000000;
> $myArray[1]['brgt'] = 1.000000;
> $myArray[1]['axa'] = 1;
> $myArray[2]['brgf'] = 2.000000;
> $myArray[2]['brgt'] = 2.000000;
>
> Greetings,
>
> Henk.
Actually that's perfect, as I want the file to have that structure, and
I've already worked out a way to split the nubmers off the tags and create
a two-dimensional array....
--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__
Certified Personal Trainer (_)\(_) ,>/'_ o__
Licensed Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)
Navigation:
[Reply to this message]
|