Re: [PHP] FPDF and MySQL

2002-09-20 Thread Marek Kilimajer

If you look at the tutorial no. 5 on www.fpdf.org, all you need is to 
change LoadData function, example:
function LoadData($condition)
{
$res=mysql_query("SELECT * FROM table WHERE 1 AND ($condition)");
while($data[]=mysql_fetch_row($res) ) { }
return $data;
}

Chuck Payne wrote:

>Hi,
>
>I found a free pdfclass called FPDF http://www.fpdf.org, that I can use with
>PHP to create pdf files with. Before someone tells me "Read The Manual", I
>have read their page and used Google to search for notes on how called mysql
>into a PDF and I am lost. Does anyone know where there is a tutorial.
>
>Thanks,
>
>Chuck Payne
>Magi Design and Support
>
>
>
>  
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] FPDF and MySQL

2002-09-19 Thread Chuck Payne

Hi,

I found a free pdfclass called FPDF http://www.fpdf.org, that I can use with
PHP to create pdf files with. Before someone tells me "Read The Manual", I
have read their page and used Google to search for notes on how called mysql
into a PDF and I am lost. Does anyone know where there is a tutorial.

Thanks,

Chuck Payne
Magi Design and Support



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php