Solved

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

Posted on 2009-05-07
3
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
ycTIN earned 500 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

627 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