Jump to content


Photo

Get fields names


  • Please log in to reply
1 reply to this topic

#1 Julian

Julian
  • Members
  • PipPipPip
  • Advanced Member
  • 148 posts

Posted 05 July 2006 - 07:51 PM

Hi

I want to get the field names from my table and print them to the screen via php script.  Does anybody know to do this?  Thanks.

I found msql_fetch_field().  But I don't know the syntax.

Thanks

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 05 July 2006 - 08:03 PM

Did you look at the page in the manual describing that function? http://www.php.net/mysql_fetch_field

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users