You are here: Re: [PHP] Echoing Variables Names « PHP « IT news, forums, messages
Re: [PHP] Echoing Variables Names

Posted by Greg Donald on 01/18/05 06:01

On Mon, 17 Jan 2005 19:55:12 -0800, Phillip S. Baker
<phillipsbaker@gmail.com> wrote:
> I am generating some variable variables.

Don't use variable variables, use arrays.

> I am interested for testing purposes in finding out the names of the
> variables that are actually being generated. Since I want to make sure that
> that my following conditional statements are working properly and the values
> are set.
>
> So is there a way to print out the name of the variables?

print_r( $array );



--
Greg Donald
Zend Certified Engineer
http://destiney.com/

 

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

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