RE: [PHP] quick syntax question
| From: | indrek siitan | Date: | Sat, 23 Dec 2000 12:50:55 +0000 |
| Subject: | RE: [PHP] quick syntax question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31668@lists.php.net to get a copy of this message | ||
Hi,
> Maybe arrays would be useful in this situation
> $question = 10;
> $answer[10] = "Foo";
> echo $answer[$question]; # Should return "Foo"
would <INPUT TYPE=TEXT NAME="answer[10]"> work?
Rgds,
Tfr
--==< tfr@cafe.ee >==< http://tfr.cafe.ee/ >==<
+372-50-17621 >==--