you can always use eval to create a variable too!
"Neil Freeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> How do I generate variable names 'on the fly'? I wish to have variable
> names along the lines of $genre_category_1, $genre_category
Neil, look under variable variables in the php manual. They're what you
need:
http://www.php.net/manual/en/language.variables.variable.php
Charlie
"Neil Freeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> How do I generate variable names 'o
2 matches
Mail list logo