HELP!!exporting Mysql data to CSV in php code!!

Discussion in 'PHP' started by jigen7, Oct 7, 2007.

  1. #1
    hi everyone i need help how can i export the results of a query to a csv file with the columns name in the filed name of the csv???suppose USERID is the 1st column the USERID should be named in A in CSV while its data is under of it??is it possible??thx
     
    jigen7, Oct 7, 2007 IP
  2. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHPMyAdmin can export to CSV.
     
    tamen, Oct 7, 2007 IP
  3. jigen7

    jigen7 Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well yes but i need it in a running application, i need to generate a report base from the given fields and export the query results in csv
     
    jigen7, Oct 7, 2007 IP