Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] automating variables #2 From: Alan Baer (abbaer <email protected>)
Date: 01/20/99

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>