Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

RE: [PHP] array question From: Johnson, Kirk (kjohnson <email protected>)
Date: 02/24/03

http://www.php.net/manual/en/language.variables.variable.php

Kirk

> -----Original Message-----
> From: Bob Irwin [mailto:bob <email protected>]
> Sent: Monday, February 24, 2003 3:28 PM
> To: php-general
> Subject: Re: [PHP] array question
>
>
> Hi Guys,
>
> This might be a bit of a newbie question, but I'm not sure
> how to search
> for this particular information as its hard to put in search terms.
>
> Say I have a mysql/file with information about variables.
> Eg, I have a
> string from a mysql database of 'test'
>
> Am I able to then, in PHP, assign whatever that string is to
> a variable
> name? Eg, the string 'test' is used to create the variable
> '$test'... What
> is in that variable, doesn't matter, just the fact that the
> script knows the
> name of the variable (which can change depending on what the strings
> are)....
>
> I'm sure its an easy piece of code, like a string function,
> but I'm buggered
> if I can find it!
>
>
> Best Regards
> Bob Irwin
> Server Admin & Web Programmer
> Planet Netcom
>
>
> Scanned by PeNiCillin http://safe-t-net.pnc.com.au/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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