Current location: Hot Scripts Forums » Programming Languages » PHP » Storing field names of a table when storing query results in a text file ???


Storing field names of a table when storing query results in a text file ???

Reply
  #1 (permalink)  
Old 10-21-05, 06:53 AM
Newbie2005 Newbie2005 is offline
Newbie Coder
 
Join Date: Oct 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Storing field names of a table when storing query results in a text file ???

Hello

I'm saving the result of a MYSQL query I execute into a text file (to display to the user as a report) using

Select ... into outfile

is there a way to store the table names used in the query and the field/column names of the result of the query in that same text file (above the rows) so that it is more intuitive for the user when they look at the report generated ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Query problem Wraith PHP 5 03-06-04 06:16 PM
How to write a php script to load a text file into a table automatically? xmxpcom PHP 2 02-12-04 09:37 AM
Declared Functions skipper23 PHP 4 12-17-03 11:06 AM
index page not showing up skipper23 PHP 3 12-15-03 02:10 PM
picking random entries with a filter... Double selection problem dsumpter PHP 7 11-16-03 08:19 PM


All times are GMT -5. The time now is 10:58 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.