Re: [PHP] Unexpected values in an associative array



Ken Tozier wrote:
foreach ($this->db->query($query) as $row)

Well, this is what I was going to say, is that probably query is using *_fetch_array() instead of *_fetch_assoc() or *_fetch_row()


--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare
.



Relevant Pages

  • Re: Shoftim - A guide for government
    ... moved to give up aspirations for greatness, since he wasn't born great. ... Now maybe the bunch of Giv'a lowlifes who wanted to rape a male ... is said WRT the beginning of the story, so my mistake doesn't impact ...
    (soc.culture.jewish.moderated)
  • Re: Johnny Miller : FOS
    ... Snead and Nelson were almost exactly the same age (born in ... and each had to contend with the greatness of the other two. ...
    (rec.sport.golf)
  • Tipping Point
    ... "Be not afraid of greatness; some are born great, ... and others have greatness thrust upon them." ... Barack Obama might not have been born great, ... Senate didn't have the guts to put him on trial (as impeachment ...
    (misc.news.internet.discuss)
  • Re: [PHP] Fwd: php5 and sendmail
    ... ; For Win32 only. ... "Some men are born to greatness, some achieve greatness, ... and some have greatness thrust upon them." ...
    (php.general)
  • Re: [PHP] Another simple question (Probably)
    ... Jason Pruim wrote: ... "Some men are born to greatness, some achieve greatness, ... and some have greatness thrust upon them." ... by William Shakespeare ...
    (php.general)