php3-list | 199901
Date: 01/20/99
- Next message: Colin Viebrock: "RE: [PHP3] php+html"
- Previous message: Leo West: "Re: [PHP3] Stupid Question: Interpolation and Associative arrays"
- In reply to: Alexander BATKO: "[PHP3] automating variables #2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
echo "Question $i: ".${"Ques_".$i}.", ".${"A_".$i};
Alexander BATKO wrote:
>
> Zeev Suraski's help
> on automating variables
> was much appreciated.
>
> i have since used his
> solution in my script.
>
> now i have run into
> another problem:
> using ${"VARIABLE_".$i}
> in an echo.
>
> so for instance,
> echo "Question $i: ${\"Ques_\".$i}, ${\"A_\".$i}";
>
> I cannot determine
> the source of error in this
> statement.
>
> please suggest a fix.
>
> --
> 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
> List administrator: zeev-list-admin <email protected>
-- 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 List administrator: zeev-list-admin <email protected>
- Next message: Colin Viebrock: "RE: [PHP3] php+html"
- Previous message: Leo West: "Re: [PHP3] Stupid Question: Interpolation and Associative arrays"
- In reply to: Alexander BATKO: "[PHP3] automating variables #2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

