php3-list | 199807
Date: 07/31/98
- Next message: Christopher Curtis: "Re: [PHP3] Getting value from an array"
- Previous message: Martin Koistinen: "Re: [PHP3] WebTen and PHP?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have an array declared such as:
$parms[] = array( "el1", "el2", "el3" );
$parms[] = array( "ela", "elb", "elc" );
$parms[] = array( "el1", "el2", "el3" );
$parms[] = array( "ela", "elb", "elc" );
I would like to be able to recreate this array via a <form>. I tried
declaring it such as:
<input name=param[][0]>
But that didn't seem to work very well. So I just rewrote everything to
swap the elements (to go column-wise instead of row-wise) and changed my
inputs to:
<input name=param[0][]>
Now, instead of getting garbage, I get nothing. Count( $param[0] ) = 0.
It is possible to return elements as a multidimensional array? How?
tia,
-- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Christopher Curtis: "Re: [PHP3] Getting value from an array"
- Previous message: Martin Koistinen: "Re: [PHP3] WebTen and PHP?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

