<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Tcpdf a pdf generating php class</title>
	<atom:link href="http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/</link>
	<description>About me, my learnings and more..</description>
	<pubDate>Thu, 20 Nov 2008 23:04:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Manoj Kumar</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-197</link>
		<dc:creator>Manoj Kumar</dc:creator>
		<pubDate>Sat, 04 Oct 2008 21:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-197</guid>
		<description>I am unable to config the tcpdf config file, Please guide me.</description>
		<content:encoded><![CDATA[<p>I am unable to config the tcpdf config file, Please guide me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yalamber</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-57</link>
		<dc:creator>yalamber</dc:creator>
		<pubDate>Tue, 24 Jun 2008 15:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-57</guid>
		<description>in which email did you sent. Send in kiratisaathi@gmail.com</description>
		<content:encoded><![CDATA[<p>in which email did you sent. Send in <a href="mailto:kiratisaathi@gmail.com">kiratisaathi@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bahrain</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-56</link>
		<dc:creator>bahrain</dc:creator>
		<pubDate>Tue, 24 Jun 2008 09:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-56</guid>
		<description>already sent an email 2 u..</description>
		<content:encoded><![CDATA[<p>already sent an email 2 u..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yalamber</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-55</link>
		<dc:creator>yalamber</dc:creator>
		<pubDate>Fri, 20 Jun 2008 17:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-55</guid>
		<description>can you send the code you have used to output the pdf. It will help ful to find the error.</description>
		<content:encoded><![CDATA[<p>can you send the code you have used to output the pdf. It will help ful to find the error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bahrain</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-54</link>
		<dc:creator>bahrain</dc:creator>
		<pubDate>Fri, 20 Jun 2008 07:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-54</guid>
		<description>dear yalamber,
i've tried this coding but the pdf only contain

$row[\'fetched html content\']</description>
		<content:encoded><![CDATA[<p>dear yalamber,<br />
i&#8217;ve tried this coding but the pdf only contain</p>
<p>$row[\'fetched html content\']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saiful</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-53</link>
		<dc:creator>saiful</dc:creator>
		<pubDate>Sun, 15 Jun 2008 07:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-53</guid>
		<description>thanks yalamber. it works. really milion thanks for your help.</description>
		<content:encoded><![CDATA[<p>thanks yalamber. it works. really milion thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yalamber</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-52</link>
		<dc:creator>yalamber</dc:creator>
		<pubDate>Fri, 13 Jun 2008 17:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-52</guid>
		<description>Sorry my mistake add following
$htmlcontent="{$_POST['htmlcontent']}";</description>
		<content:encoded><![CDATA[<p>Sorry my mistake add following<br />
$htmlcontent=&#8221;{$_POST['htmlcontent']}&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saiful</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-51</link>
		<dc:creator>saiful</dc:creator>
		<pubDate>Fri, 13 Jun 2008 08:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-51</guid>
		<description>sorry.... one more

if I do $htmlcontent = "$_POST[htmlcontent]"; with out '', i manage to get the pdf but empty pdf.</description>
		<content:encoded><![CDATA[<p>sorry&#8230;. one more</p>
<p>if I do $htmlcontent = &#8220;$_POST[htmlcontent]&#8220;; with out &#8221;, i manage to get the pdf but empty pdf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saiful</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-50</link>
		<dc:creator>saiful</dc:creator>
		<pubDate>Fri, 13 Jun 2008 08:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-50</guid>
		<description>Hi Yalember,

Thanks for your reply. I try to do as you said but i get this error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\web\wamp\www\jrk\pdf.php on line 89

which is $htmlcontent = "$_POST['htmlcontent']";

Do you have any idea why?


Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Yalember,</p>
<p>Thanks for your reply. I try to do as you said but i get this error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\web\wamp\www\jrk\pdf.php on line 89</p>
<p>which is $htmlcontent = &#8220;$_POST['htmlcontent']&#8220;;</p>
<p>Do you have any idea why?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yalamber</title>
		<link>http://yalamber.com/2008/05/09/tcpdf-a-pdf-generating-php-class/#comment-49</link>
		<dc:creator>yalamber</dc:creator>
		<pubDate>Thu, 12 Jun 2008 17:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://yalamber.com/?p=26#comment-49</guid>
		<description>@saiful
hello,
To output pdf from mysql database.
Try this:
1.first be sure you have all the data fetched from database as you would do before.
2. In above pdf.php file where there is 
$htmlcontent = "put your html content here";
replace with:
$htmlcontent = "$_POST['htmlcontent']";

3. Now create a page where you can access the fetched data. let's call it getpdf.php
In it connect to your mysql server and select database and fetch the required data.
Now i suppose you want to output html content.
So create a form like this:

&#60;form action=&#34;pdf.php&#34; method=&#34;post&#34;&#62;&lt;br /&gt;
&#60;input type=&#34;hidden&#34; name=&#34;htmlcontent&#34; value=&#34;$row['fetched html content']&#34; /&#62;&lt;br /&gt;
&#60;input type=&#34;submit&#34; value=&#34;GET pdf&#34; /&#62;&lt;br /&gt;
&#60;/form&#62;

This is one of the way you can do what you want to. thanks. Comment if you find anything confusing.</description>
		<content:encoded><![CDATA[<p>@saiful<br />
hello,<br />
To output pdf from mysql database.<br />
Try this:<br />
1.first be sure you have all the data fetched from database as you would do before.<br />
2. In above pdf.php file where there is<br />
$htmlcontent = &#8220;put your html content here&#8221;;<br />
replace with:<br />
$htmlcontent = &#8220;$_POST['htmlcontent']&#8220;;</p>
<p>3. Now create a page where you can access the fetched data. let&#8217;s call it getpdf.php<br />
In it connect to your mysql server and select database and fetch the required data.<br />
Now i suppose you want to output html content.<br />
So create a form like this:</p>
<p>&lt;form action=&quot;pdf.php&quot; method=&quot;post&quot;&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;htmlcontent&quot; value=&quot;$row['fetched html content']&quot; /&gt;<br />
&lt;input type=&quot;submit&quot; value=&quot;GET pdf&quot; /&gt;<br />
&lt;/form&gt;</p>
<p>This is one of the way you can do what you want to. thanks. Comment if you find anything confusing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
