You are here: Turning a variable in to a string « All PHP « IT news, forums, messages
Turning a variable in to a string

Posted by Dave Thomas on 08/18/05 00:54

I have:
$this_array = array($test_year, $test_color, $test_food)

I want to access another variable based on $test_year, only it will be
called $test_month (test could be something else). $test_year is a form
and I want to access $test_month.

If I use $this_array[1] then I am getting the actual value of the form.
I want to get the name of the variable I am accessing!

 

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

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