Posted by Michael Fesser on 07/25/07 21:05
..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?
Micha
[Back to original message]
|