04-27-2008, 06:29 PM
|
#1 (permalink)
|
|
The Addict
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
|
when would i use a "variable variable"
by a variable variable(dynamic Variable) i mean
Code:
<?php
$field = "firstname_field";
$$field = "sarmenhb";
echo "Field Name: ".$field."<br>";
echo "Field Value: ".$$field."<br>";
?>
have you ever used this in your code? if so can you explain how you used it?
thanks
__________________
no signature set
|
|
|
|