Reply to Re: Where are my values?!

Your name:

Reply:


Posted by Chris Hope on 07/25/07 21:05

Sanders Kaufman wrote:

> No - this isn't a morality question. :)
>
> 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.
>
> What am I doing wrong?!

Case sensitivity.

$this->RecordSet[0]

is not the same as

$this->Recordset[0]

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

[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

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