note 10181 deleted from language.variables by irc-html
| From: | irc-html@php.net | Date: | Wed, 24 Apr 2002 19:32:58 +0000 |
| Subject: | note 10181 deleted from language.variables by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29791@lists.php.net to get a copy of this message | ||
For those of us stuck using php3, for whatever reason, and needing to use variable accessed by
reference rather than by value here's a little quark that may help.
define an array something like:
$ProdCode = array(0 => "$Code0", "$Code1",....);
Then variables names of the form: Code0, Code1, ...
cand be displayed using echo, (print nor printf will not work), as $ProdCode[i].
NOT the best solutions, but it may get you through until you can get to php4.