data extraction > pdf

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!


Cheers,
Blago
Blagovest [ Sa, 07 April 2007 12:48 ] [ ID #1681267 ]

Re: data extraction > pdf

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
Shion [ Sa, 07 April 2007 12:57 ] [ ID #1681268 ]

Re: data extraction > pdf

J.O. Aho wrote:
> 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 ---

Very good, thanks. BUT, is there a program out there that'll help "dummies".

Cheers,
Blago
Blagovast [ So, 08 April 2007 11:56 ] [ ID #1681773 ]

Re: data extraction > pdf

On Apr 8, 10:56 am, Blagovast <b... [at] ovast.com> wrote:
> J.O. Aho wrote:
> > 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 ---
>
> Very good, thanks. BUT, is there a program out there that'll help "dummies".
>
> Cheers,
> Blago


Trust me, I'm a dummy. :-)

FPDF really is worth investigating. There's lots of scripts available
on the website, and many of them have good explanations. With a book
for dummies in one hand and the mouse in the other you shouldn't go
too far wrong - but don't sue me!
zac.carey [ Mo, 09 April 2007 00:28 ] [ ID #1682487 ]

Re: data extraction > pdf

strawberry wrote:
> On Apr 8, 10:56 am, Blagovast <b... [at] ovast.com> wrote:
>> J.O. Aho wrote:
>>> 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 ---
>> Very good, thanks. BUT, is there a program out there that'll help "dummies".
>>
>> Cheers,
>> Blago
>
>
> Trust me, I'm a dummy. :-)
>
> FPDF really is worth investigating. There's lots of scripts available
> on the website, and many of them have good explanations. With a book
> for dummies in one hand and the mouse in the other you shouldn't go
> too far wrong - but don't sue me!


Cheers! Sounds like I might have a chance with that then.

Blago
Blagovast [ Mo, 09 April 2007 14:32 ] [ ID #1682489 ]
PHP » alt.php.sql » data extraction > pdf

Vorheriges Thema: Export excel data or webpage data to MySql using Php or VBA
Nächstes Thema: listing alphabetically in trwo columns