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]
|