You are here: Re: Change variable name « All PHP « IT news, forums, messages
Re: Change variable name

Posted by Tom on 04/23/07 18:01

On Mon, 23 Apr 2007 11:46:31 +0200, Boris Savc wrote...
>
>Sorry for confuzing subject, but that's the thing I'm trying to achieve. For
>example:
>
>$a = "Hello";
>$b = 1;
>
>I want to change the name of $a to $a1 where 1 is value of variable $b!
>
>Thanks for all the help,
>Boris
>
>


Probably have to use a hash/associative array where you can make up whatever key
name you need to store its value.

Tom
--
Newsguy.com
90+ Days Retention
Higher levels of article completion
Broader newsgroups coverage

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация