Re: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread hugh danaher
IL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "John Holmes" <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 1:18 AM Subject: RE: [PHP] PHP function for listing number of columns in table yes, I think getting the result set for 'describe $table' or

RE: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread Mark
>Sent: 09 June 2002 18:29 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: RE: [PHP] PHP function for listing number of columns in >table > >No. There is, however, a function that'll tell you how many columns >are >in a result set. So, if you

RE: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread Tim Ward
09 June 2002 18:29 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] PHP function for listing number of columns in table No. There is, however, a function that'll tell you how many columns are in a result set. So, if you select all columns,

RE: [PHP] PHP function for listing number of columns in table

2002-06-09 Thread John Holmes
No. There is, however, a function that'll tell you how many columns are in a result set. So, if you select all columns, then you can use that function to find out how many columns are in the table. www.php.net/mysql_num_fields ---John Holmes... > -Original Message- > From: [EMAIL PROTEC

Re: [PHP] PHP function for listing number of columns in table

2002-06-08 Thread hugh danaher
try mysql_num_fields() Hugh - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 08, 2002 9:54 PM Subject: [PHP] PHP function for listing number of columns in table Pardon the probably stupid question but, Is there a PHP function for listing numbe