[PHP] a generic getsql() function

2003-06-25 Thread Thomas Hochstetter
Hi guys, I wrote a generic getsql() function for my project's class. However, I only manage to retrieve a single row. What it should really do is: Read all rows into the array (with multiple results). The code is below: function getsql($sql,$conn,$dbase,$arr) { if($conn)

RE: [PHP] a generic getsql() function

2003-06-25 Thread French, Alastair
Thomas Hochstetter wrote: Hi guys, I wrote a generic getsql() function for my project's class. However, I only manage to retrieve a single row. What it should really do is: Read all rows into the array (with multiple results). The code is below: function getsql($sql,$conn,$dbase,$arr)

Re: [PHP] a generic getsql() function

2003-06-25 Thread Don Read
On 25-Jun-2003 Thomas Hochstetter wrote: Hi guys, I wrote a generic getsql() function for my project's class. However, I only manage to retrieve a single row. What it should really do is: Read all rows into the array (with multiple results). The code is below: function