RE: [PHP] quick syntax question

From: Date: Sat, 23 Dec 2000 13:17:34 +0000
Subject: RE: [PHP] quick syntax question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31671@lists.php.net to get a copy of this message
Hi, > ok, so... are you looking for something like this? > echo ${ $answer . $question } ; > echo ${ "answer_$question" } ; > echo ${ 'answer_' . $question } ; yup, actually i was looking for this :) but thanks to the hint from Ollie, the <input name="answer[0]"> and later accessing $answer[0] works too. Rgds, Tfr --==< tfr@cafe.ee >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==--

« previous php.general (#31671) next »