incrementing string value
| From: | Jeremy | Date: | Fri, 25 Jul 2003 16:27:56 +0000 |
| Subject: | incrementing string value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156892@lists.php.net to get a copy of this message | ||
writing some client side javascript with some dynamic php, and I need to be
able to print a dynamic number of variables to the javascript.
I need to print:
var a="";
var b="";
...etc.
Is there a way to increment a php $var much like $var++ would work?
Jeremy