View Single Post
Old 09-22-2004, 06:12 PM  
lb_vee
Confirmed User
 
Join Date: May 2004
Posts: 886
with $sth->fetchrow, you might have to step through each item in a while loop and push the result into your @gals array.

does fetchrow return a hash or an array??

with $sth->fetch, you can build a hash that reflects the data coming out of the database and push eash hash into the array you're going to return.

so you have $result->[ARRAY]->[Hash]

Last edited by lb_vee; 09-22-2004 at 06:15 PM..
lb_vee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote