Re: 2D Dynamic Array from HTML Form - Possible?

From: Date: Tue, 14 Nov 2000 13:34:18 +0000
Subject: Re: 2D Dynamic Array from HTML Form - Possible?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25182@lists.php.net to get a copy of this message
>>>>> "AF" == Andy Flisher <news@flish.co.uk> writes: > I have a need to generate anumber of 2D arrays from an HTML form, > this is because the number of text fields / sub fields is generated > according to other criteria. > I have no problem getting a single dimension array back from the > form, but 2D array's don't work, any ideas? What version of PHP are you using? You mention PHP3 elsewhere in your post, that could be your problem: From http://uk.php.net/manual/language.variables.external.php "In PHP 3, the array form variable usage is limited to single-dimensional arrays. In PHP 4, no such restriction applies." -robin -- Robin Vickery............................................... Planet-Three, 3A West Point, Warple Way, London, W3 0RG, UK Email: robin@planet-three.net Phone: +44 (0)870 729 5444

« previous php.general (#25182) next »