TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-25-2009, 06:23 PM   #1 (permalink)
The Contributor
 
Join Date: May 2008
Posts: 36
Thanks: 5
Kay1021 is on a distinguished road
Default Db info into pdf

Is there a way to take your data from your db and create a pdf.

Basically i have a table of information sectioned by month and I want to give the user the option to save that information, ideally in pdf format so they can have a copy and print etc. I want them to be able to choose by month or all the months.



Thanks
Kay1021 is offline  
Reply With Quote
Old 05-26-2009, 08:17 AM   #2 (permalink)
The Acquainted
 
Join Date: Oct 2007
Posts: 170
Thanks: 18
maZtah is an unknown quantity at this point
Default

These are the steps to achieve this:

Good luck!
maZtah is offline  
Reply With Quote
Old 05-26-2009, 03:21 PM   #3 (permalink)
The Contributor
 
Join Date: May 2008
Posts: 36
Thanks: 5
Kay1021 is on a distinguished road
Default

thanks

I'm just having trouble because in the examples they give they are filling the pdf with info they actually write..like Hello World or gathering he info from a text file...i'm just wondering how i would do it when the information filling my table is coming from my database and i don't know what it will be

i keep looking for tutorials that are simpler but i can't seem to find any
Kay1021 is offline  
Reply With Quote
Old 05-26-2009, 03:30 PM   #4 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

Well, first you must learn how to read from your database. When you've done that you can use that knowledge to implement it in your PDF.
__________________
Nunchaku! Who doesn't like martial arts? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
Old 05-26-2009, 03:45 PM   #5 (permalink)
The Contributor
 
Join Date: May 2008
Posts: 36
Thanks: 5
Kay1021 is on a distinguished road
Default

I know how to read from my database...i have the table displayed with all the information in....i just wasn't understanding how they fit that into the pdf
Kay1021 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
store credit card info ahlofan MySQL & Databases 7 06-12-2009 12:57 PM
Array, add file info ... Peuplarchie General 4 05-26-2008 08:25 AM
hash() algorithm info script RobertK Script Giveaway 4 01-09-2008 03:00 PM
FictionDiction.com New Culture of sharing info faruk123 Show Off 5 01-01-2008 01:24 PM
[question]Get info From multiple rows Tozzie General 3 09-25-2007 09:30 PM


All times are GMT. The time now is 11:13 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design