Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do i make an invoice (pdf) via php from a excel invoice please

Posted on 2009-05-07
3
Medium Priority
?
390 Views
Last Modified: 2012-06-27
i have an invoice made with excel and id like a customer to be able to download(or print) this file via pdf. i would like the info to be populated via php/msql.

i know how to use mysql and php and have the site all set up for that, my problem is the displaying the ability to download the pdf file thats populated with the mysql info from a excel template.
if its a saved pdf file and php populates the info thats fine too as long as it LOOKS like the file i have

stuff like the date,name,addy etc and services need to be filled in.
how does one do this please thank you in advance for any code and help you may provide

for simplicity sake something like $name,$street etc can be used as i know how to pull the info from a mysql database to populate the info i just need the way to make a pdf file and populate the  pdf with the info thanks

please ask if you require more info
Blank-Inv.xls
0
Comment
Question by:Johnny
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
ycTIN earned 2000 total points
ID: 24332619
print the empty form to image
add the image to page background
just create the database content

http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf
0
 

Author Closing Comment

by:Johnny
ID: 31579083
thank you
0
 

Author Comment

by:Johnny
ID: 24332980
Thank You
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question