GLOBALS...
| From: | Vladimir Novakovic | Date: | Wed, 01 Nov 2000 06:52:45 +0000 |
| Subject: | GLOBALS... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23101@lists.php.net to get a copy of this message | ||
I need to have several globals from $GLOBALS[test0] until $GLOBALS[test10],
but under
regular while/endwhile loops, will anyone help me and send some example?
How to do that with regular variables too? For example I need to have
varibale from $stn0 until $stn10. Is it possible to use something like:
$stn$i
What do I need - example:
$num=10
$i=0;
while($i < $num):
$GLOBALS[phone0...10] = $stn0...10;
$i = $i + 1;
endwhile;
thanks in advance,
Vladimir