SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    produce a good report/form

    Hi all,
    I have a leave application form.Once i have completed filled up that form, i want to print it. May i know what is the best and easy way to produce the good report.

    Thanks in advance.

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since there are no such report printing applications in PHP or any libraries available for the web, you have to format your report yourself and print the values in the HTML page, then only you can print to your printer with the help of javascript function window.print(). This will print all the information that is is in the HTML page to the printer.

    So in your case, you first store your data into the database if you need, then format a page with tables for your suitable report format and display the report then in some events you can print your page.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot.:-)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •