![]() |
Variable in a Variable ?
Hi,
I'm currently working with a html-form, and I've got a lot of variables to work through. Because the form is generated dynamicly, I don't know how many variables I'll get. My code is looking like this: PHP Code:
PHP Code:
|
If your talking about arrays, this is what you would do -
$test[$count] If your talking about combining the string, this is what you would do - $another_variable = ($test).($count) Hope that helped. |
PHP Code:
|
Read all about variable variables here:
http://www.php.net/manual/en/languag...s.variable.php |
Quote:
|
Since it's a POSTed form, you can also use the $_POST array ($HTTP_POST_VARS for older PHP versions).
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|