Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-05-07
3
Medium Priority
?
386 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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 dynamically set the form action using jQuery.
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.

688 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