Reply to Re: print out variable name as well as its content

Your name:

Reply:


Posted by Gary L. Burnore on 10/19/07 00:46

On Fri, 19 Oct 2007 00:31:03 -0000, Summercool
<Summercoolness@gmail.com> wrote:

>On Oct 18, 5:20 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
>> If you want the variable's name, just say it!
>>
>> echo '$foo=' . $foo;
>
>sometimes it is more like
>
> echo '$obj->arr[n*size][i-1]' . $obj->arr[n*size][i-1];
>
>so you have to make sure both places are indeed the same expression --

If that's too hard for you, perhaps you should consider a job in the
food or hospitality industry.

--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================

[Back to original 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

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