Solved

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

Posted on 2009-05-07
3
377 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 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
htacces issue 2 40
PHP loop not working 4 32
update field on focusout 15 23
Showing data from 2 sql queries in one dropdown 8 13
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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.
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 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 …

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now