You are here: Re: Where are my values?! « PHP Programming Language « IT news, forums, messages
Re: Where are my values?!

Posted by Sanders Kaufman on 07/25/07 21:12

Michael Fesser wrote:
> .oO(Sanders Kaufman)
>
>> No - this isn't a morality question. :)
>
> There's not even a constructor ... SCNR ;)
>
>> When I run this:
>> foreach ($this->RecordSet[0] as $x=>$y){
>> echo "<br>$x = $y";
>> }
>>
>> I get this:
>> username = alpha
>> password = omega
>>
>> But when I run this:
>> echo $this->Recordset[0]["username"]
>> echo $this->Recordset[0]["password"]
>>
>> I don't get squat.
>>
>>
>> I know it's something symple with the sintax - but I just ain't seeing it.
>
> Do you have error_reporting set to E_ALL? PHP should give you a notice.
>
> $this->RecordSet
> $this->Recordset
>
> See the difference?

Oh, for crying out loud!
I knew it was something stupid.
Thanks.

 

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

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