Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] automating variables #3 From: Alexander BATKO (abatko <email protected>)
Date: 01/20/99

thanks to Colin Viebrock
for answering: automating variables #2

here's another question:

i'd like to make the
$i variable increment
itself before the entire
variable $Q_$i is resolved.

so for instance, i need:
${"Q_".$i++} = "some string";

i'd like to do that instead of
this cheat:

$i++;
${"Q_".$i} = "some string";

--
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>