Re: Variable Syntax Question

From: Date: Fri, 31 Aug 2001 14:39:20 +0000
Subject: Re: Variable Syntax Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-65478@lists.php.net to get a copy of this message
<Original message> From: * R&zE: <renze@datalink.nl> Date: Fri, Aug 31, 2001 at 04:36:36PM +0200 Message-ID: <20010831163636.A29057@pro-pain.telemediair.nl> Subject: Re: [PHP] Variable Syntax Question Btw... Why not just use an array? <input type="text" name="bob[]"> <input type="text" name="bob[]"> <input type="text" name="bob[]"> <input type="text" name="bob[]"> and then: foreach ($bob as $myValue) { print ($myValue); } That's a much nicer solution... -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#65478) next »