You are here: Re: data extraction > pdf « PHP SQL « IT news, forums, messages
Re: data extraction > pdf

Posted by J.O. Aho on 04/07/07 10:57

Blagovest wrote:
> Hi.
> I'm looking for a MySQL data extraction > PDF tool. Free would be great,
> but cheap would also be acceptable. I'm a webmaster rather than a DB
> expert, so please be easy with me - I googled and found lots of stuff,
> but it was over my head!

http://www.fpdf.org/

As each database is designed differently there aren't any general code that
will take the database and push it into a pdf, you need to make your own
little script to fetch the data you need.

--- codeless example ---
/* connect to server and select database */
/* query the data you want and then fetch row by row */
while($row=mysql_fetch_array($resource)) {
/* push the data into the pdf */
}
/* eject the pdf, don't forget to send some header() */
--- eof ---

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация