[thelist] Populating arrays dynamically
Ms N Saidova
saidovan at rs.uovs.ac.za
Tue Jun 4 04:23:04 CDT 2002
Hi there,
Can someone tell me how I can, in PHP, populate
multidimensional arrays dynamically with results from the
database? (I used to do that in ASP with GetRows().)
Here is the thing. I need data from tables lying in 2 separate
databases, and because as far as I know you cannot connect to
more than one database at a time, I thought I should get the
results from the one database, populate a multidimensional array
with those, close that connection, open a new one to the second
database and do the rest of the query.
Or am I taking the long route here?
Any suggestions much appreciated.
Nedret
More information about the thelist
mailing list