generating reports and display the records in txt file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • puneetmca
    New Member
    • Jan 2010
    • 15

    generating reports and display the records in txt file

    hi
    i m new in php.... i want to generate a report of my database records having field names FirstName ,LastName and Age in student table and test database.....an d i want to display these records in notepad as a txt file.....how can i do this?plz hlp me out......
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    You simply query the records from MySQL using the MySQL functions and then output them either to the browser using echo, or into a file using the File-system functions.

    Try it out. Let us know if you run into any problems.

    Comment

    • johny10151981
      Top Contributor
      • Jan 2010
      • 1059

      #3
      if you have any book on php, first read it. do all the example. if you face any problem with that then expert will help you. in need they will explain you.

      regards
      johny

      Comment

      Working...