"August Malson" <[EMAIL PROTECTED]> wrote:
> Does anyone know of a way to test for undefined variables?  For example, I
> I have tried isdef(), but that function does not seem to work, and I

Try is_set().

> Also, does anyone know how to rename a variable?
>
> I want to create a variable $attributes_NameOfVariable, but it does not
seem
> to work.  is there a function that exists in PHP that will assist me in
this
> process?

I'm not clear what you're trying.  Can you repost with a better example of
what you mean?  You might be referring to variable variables, which are
documented on http://php.net/.

$age = 27;
$var = "age";
echo $$var; // prints 27

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to