Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Healthcheck 2 86
<? versus <?php 5 37
php call to a non-object 3 34
Access Object's Property 9 22
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

867 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

12 Experts available now in Live!

Get 1:1 Help Now