Hi all!
I am PHP beginer, I have some trouble about install, using pdflib for PHP(version 5.1.4, Window XP).
Please help me !
If so be, thanks to all.
Maths

well .........
what is the problem with u
could u explain more

Hi all !
This is a function which I wote.It was wrong, but I can find error, please help me !!!
-----
<?php
function outtext($pdf,$Left_Margin,&$YPos,$font, $str){
global $Page_Height,$Top_Margin, $PageNumber;
if($YPos<10){
$pdf->newPage();
$YPos= $Page_Height-$Top_Margin-10;
$pdf->addText($Left_Margin, $YPos,$font, $str);
$PageNumber++;
return true;
}
else{
$pdf->addText($Left_Margin, $YPos,$font, $str);
return false;
}
}
?>
------------------

Thanks

Hi all !
This is a function which I wote.It was wrong ( result is not unique ), but I can find error, please help me !!!
-----
<?php
function outtext($pdf,$Left_Margin,&$YPos,$font, $str){
global $Page_Height,$Top_Margin, $PageNumber;
if($YPos<10){
$pdf->newPage();
$YPos= $Page_Height-$Top_Margin-10;
$pdf->addText($Left_Margin, $YPos,$font, $str);
$PageNumber++;
return true;
}
else{
$pdf->addText($Left_Margin, $YPos,$font, $str);
return false;
}
}
?>
------------------
The function is not true when I print 2 columns.
To print many columns on a PDF page when we end old page and start new page, How do I ?
Thanks

is there any output ??
any errors??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.