| |
|
Welcome to AstaHost - Dear Guest | |
Replying to How To: Create PDF With Php
Topic Summary
Posted 16 May 2012 - 09:42 AM
Did not work for me (gen02.php), so I add another parameter and it worked
$myimage = PDF_open_image_file($mypdf, "jpeg", "training_bground.jpg", "", 0);
Posted 19 April 2012 - 11:39 AM
yordan
Posted 11 November 2011 - 11:57 AM
You want to show all the data inside a single table, right? That's a simple "Select * from mytable" SQL instruction.I want fetch my database data in pdf. And all data show in one table.
Now you have to carefully read the starter post of the current topic, and add your "select" instruction inside the sample code example.
Posted 11 November 2011 - 07:14 AM
Actuality I will writer one code is make a pdf file. The code donnect with database.I want fetch my database data in pdf. And all data show in one table. Plzzzzz help...
-reply by jaydev
Posted 26 August 2011 - 05:09 PM
QUESTION NOW PDFS CAN HAVE VIDEO INSIDE THEM..IS THIS POSSIBLE WITH PHP? AGAIN GREAT CONTENT YOU HAVE HERE
reply by Eli Roberts
Posted 08 July 2011 - 05:27 PM
My host don't support these php libraries .Are there any alternatives to these libraries and also freely availableMy host => namedeal.Com , has some one ever had such problems with this host ,Are they able to solve this .ThanksHammadhaleem(engineerinme.Com)
-question by hammad haleem
Posted 01 April 2011 - 12:26 PM
I tried executing the code but an error, Fatal error: Call to undefined function PDF_new() in C:Inetpubwwwrootrootpdfs.Php on line 2, occurred
-reply by janu kauPosted 01 April 2011 - 05:04 AM
I want upload .Txt and .Doc file in php then upload file display anther page I wbsite
-question by devesh tailor
Posted 16 December 2010 - 11:38 AM
Hi,
Nice tutorials about pdf generation, thanks, but I want to know that when we have text of more then one line, then how we will print this using line break, presently, if we have a longer text then it is showing only one line with short text (not full text line) (some part of text is getting hidden), how we can print full text with line break after page column is over and start new line with text.
early reply will help me lot.
Thanks,
-reply by Neeraj
Posted 06 October 2010 - 08:29 AM
hi ,
guys actually I am in big trouble... Regarding to open_image_file().. Which accepts 5 parameters.
And I have found the only 3 parameters with their exact positions.. And 2 are still missing and I also know there's positions in the function. Here is the function with parameters Positions..
PDF_open_image_file( file-object, $x=?, $y=?, image-type, link-to-image );
Note: $x, $y is the current position in user unit... If I am assigning values to x,y then facing the fatal error:
Fatal error: Uncaught exception 'PDFlibException' with message'pdf_open_image_file() expects parameter 5 to be long, string given' inE:wampwwwSachinPHPpdfgridlines.Php:8 Stack trace: #0E:wampwwwSachinPHPpdfgridlines.Php(8): pdf_open_image_file(Resource id #2,'0', '200', 'png', 'logo.Png') #1 {main} thrown in E:wampwwwSachinPHPpdfgridlines.Php on line 8
And, if I am shifting the any 1among them(x,y) to last then again facing a fatal error:
with message 'String parameter 'type' has bad value "(value which was assigned to the second parameter)''
so, please.. Please somebody shoot my trouble.
Thanks,(in advance)
Sachin



