Re: [PHP] Returning multiple values from function

2002-12-12 Thread Tim Ward
<[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 9:34 AM Subject: [PHP] Returning multiple values from function > Is it possible to return multiple values from a function? > > I have a function that queries a MySQL database for column names (SHOW >

[PHP] Returning multiple values from function

2002-12-12 Thread Lisi
Is it possible to return multiple values from a function? I have a function that queries a MySQL database for column names (SHOW COLUMNS) and then I go through the values return and create two arrays - one containing column names and one containing column types. Is it possible to return two arr