> 1. If $id is a number I believe PHP will choke b/c I don't believe numbers > can be used as variable names. Well, generally that is true. If you try to assign a value directly to a variable that is a number such as: $1 = "Hello World"; Then it won't work. However, due to a somewhat quirky implementation you can get arund this by doing: $a=1; $$a = "Hello World"; You can verify that you do indeed have a variable named $1 in your global symbol table by doing: echo $GLOBALS[1]; -Rasmus -- 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]
- Re: [PHP] Variable variable [EMAIL PROTECTED]
- Re: [PHP] Variable variable Chris Fry
- Re: [PHP] Variable variable Jacky
- Re: [PHP] Variable variable Chris Fry
- Re: [PHP] Variable variable Jacky
- [PHP] to find out which checkbo... [EMAIL PROTECTED]
- Re: [PHP] to find out whic... Martin Cabrera Diaubalick
- Re: [PHP] Variable variable Chris Fry
- Re: [PHP] Variable variable Plutarck
- Re: [PHP] Variable variable Steve Werby
- Re: [PHP] Variable variable Rasmus Lerdorf
- Re: [PHP] Variable variable Steve Werby
- Re: [PHP] Variable variable Rasmus Lerdorf
- Re: [PHP] Variable variable Plutarck
- [PHP] Re: thank you very much [EMAIL PROTECTED]
- [PHP] Variable Variable Brandon Orther
- [PHP] PHPmyadmin Theo Richel
- RE: [PHP] PHPmyadmin Ryan W. Zajicek
- RE: [PHP] PHPmyadmin John Vanderbeck
- RE: [PHP] PHPmyadmin Jack Dempsey
- [PHP] redeclare array_push Theo Richel