Re[2]: [PHP] strings and vars

2002-11-23 Thread empty
yiihhuuuvvv

it works;

I heard it, i remember variable variables I guess

Thanks all

EEV> $var = 'string';
EEV> $$var will resolve as $string


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] strings and vars

2002-11-23 Thread Ernest E Vogelsinger
At 02:05 24.11.2002, empty said:
[snip]
>i have string like: "string";
>
>how can i get variable $string;
[snip] 

$var = 'string';
$$var will resolve as $string


-- 
   >O Ernest E. Vogelsinger
   (\)ICQ #13394035
^ http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] strings and vars

2002-11-23 Thread empty
Hi;

i have a string and I want to set it as a variable name.

like tahat

i have string like: "string";

how can i get variable $string;


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php