<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Saving images in MySQL with PHP</title>
	<atom:link href="http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/</link>
	<description>Bits and pieces of linux, mysql, apache, php</description>
	<lastBuildDate>Fri, 16 Jul 2010 19:43:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wasif</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-10869</link>
		<dc:creator>Wasif</dc:creator>
		<pubDate>Tue, 29 Dec 2009 01:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-10869</guid>
		<description>You need a single file like showimage.php and just need to pass the image id as I did in the example id=1
$query = &quot;SELECT image from images where id=1&quot;;</description>
		<content:encoded><![CDATA[<p>You need a single file like showimage.php and just need to pass the image id as I did in the example id=1<br />
$query = &#8220;SELECT image from images where id=1&#8243;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dark_byte</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-10840</link>
		<dc:creator>dark_byte</dc:creator>
		<pubDate>Sat, 26 Dec 2009 13:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-10840</guid>
		<description>Hi nice article but what if I want to take multiple images form the database and display them.
Will I have to build a script for each image; please I badly need help over this.</description>
		<content:encoded><![CDATA[<p>Hi nice article but what if I want to take multiple images form the database and display them.<br />
Will I have to build a script for each image; please I badly need help over this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 4ward.NRGie</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-10318</link>
		<dc:creator>4ward.NRGie</dc:creator>
		<pubDate>Wed, 11 Nov 2009 06:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-10318</guid>
		<description>Here is my showimage.php
[code]

[code]
But I can&#039;t olad it ti index.php</description>
		<content:encoded><![CDATA[<p>Here is my showimage.php<br />
[code]</p>
<p>[code]<br />
But I can't olad it ti index.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roni08</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7895</link>
		<dc:creator>roni08</dc:creator>
		<pubDate>Thu, 30 Jul 2009 05:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7895</guid>
		<description>can anyone could help me with the fix image size, to display not necessarily damaging the resolution of the image?. it&#039;s all about the code above. pls. help me. thanks.</description>
		<content:encoded><![CDATA[<p>can anyone could help me with the fix image size, to display not necessarily damaging the resolution of the image?. it&#8217;s all about the code above. pls. help me. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roni08</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7885</link>
		<dc:creator>roni08</dc:creator>
		<pubDate>Wed, 29 Jul 2009 04:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7885</guid>
		<description>i&#039;ve tried your provided code and it&#039;s great and work properly. But my question is how do i resize the images or picture that i&#039;ve been upload and save to my database. when i&#039;m going to display the images/picture it has been cut. i hope you could help me. thanks.</description>
		<content:encoded><![CDATA[<p>i&#8217;ve tried your provided code and it&#8217;s great and work properly. But my question is how do i resize the images or picture that i&#8217;ve been upload and save to my database. when i&#8217;m going to display the images/picture it has been cut. i hope you could help me. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rusty777</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7704</link>
		<dc:creator>Rusty777</dc:creator>
		<pubDate>Thu, 23 Jul 2009 04:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7704</guid>
		<description>The code you provided worked great.  I wish I had posted the problem a week ago.  But I&#039;m sure all the reading I did this week before I got desperate will pay off later.  Thank you so much.</description>
		<content:encoded><![CDATA[<p>The code you provided worked great.  I wish I had posted the problem a week ago.  But I&#8217;m sure all the reading I did this week before I got desperate will pay off later.  Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wasif</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7679</link>
		<dc:creator>Wasif</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7679</guid>
		<description>You just need to pass the $logo variable (I assume $logo contains the location of the image file) &lt;img src=&#039;&lt;?php echo $logo?&gt;&#039;&gt;

If you still have confusion, then post your code to review.</description>
		<content:encoded><![CDATA[<p>You just need to pass the $logo variable (I assume $logo contains the location of the image file) &lt;img src=&#8217;&lt;?php echo $logo?&gt;&#8217;&gt;</p>
<p>If you still have confusion, then post your code to review.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rusty777</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7678</link>
		<dc:creator>Rusty777</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7678</guid>
		<description>Your &quot;tag&quot; did not show up but my graphics/logos are stored as files on the server. The NAME of each graphic is stored in a record in a mysql table which has the member data including the name of their logo, not the picture file, just the name of the file.  

I have a bunch of members and need a way to pass the filename stored in mysql table to the &quot;img src&quot; statement in html.  

In php, I have been successful in getting the name of the file into a variable ($logo) but have not found a way to use the variable in the &quot;img src&quot; statement.  

The $logo var contains marie.jpg but HTML does not resolve the variable name.  It just shows a broken image/link on the screen.

I hope this makes sense...  

Thanks again.</description>
		<content:encoded><![CDATA[<p>Your &#8220;tag&#8221; did not show up but my graphics/logos are stored as files on the server. The NAME of each graphic is stored in a record in a mysql table which has the member data including the name of their logo, not the picture file, just the name of the file.  </p>
<p>I have a bunch of members and need a way to pass the filename stored in mysql table to the &#8220;img src&#8221; statement in html.  </p>
<p>In php, I have been successful in getting the name of the file into a variable ($logo) but have not found a way to use the variable in the &#8220;img src&#8221; statement.  </p>
<p>The $logo var contains marie.jpg but HTML does not resolve the variable name.  It just shows a broken image/link on the screen.</p>
<p>I hope this makes sense&#8230;  </p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wasif</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7675</link>
		<dc:creator>Wasif</dc:creator>
		<pubDate>Wed, 22 Jul 2009 13:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7675</guid>
		<description>Where did you store the graphic, in database or on the disk? If you have stored the graphic on disk, you can simply pass the path to the graphic/logo in &lt;img&gt; tag like below
&lt;img src=&quot;path_to_graphic&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Where did you store the graphic, in database or on the disk? If you have stored the graphic on disk, you can simply pass the path to the graphic/logo in &lt;img&gt; tag like below<br />
&lt;img src=&#8221;path_to_graphic&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rusty777</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/comment-page-2/#comment-7637</link>
		<dc:creator>Rusty777</dc:creator>
		<pubDate>Tue, 21 Jul 2009 14:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-7637</guid>
		<description>Hello,

I am new to php and mysql... Fairly proficient in HTML 

My situation is:  
I have a mysql table with member info and a field named graphic1.  The variable graphic1 contains the member&#039;s logo/graphic.

I am able to use mysql_query and fetch_array to echo the filename of the member&#039;s graphic but I need to display the actual graphic, not just the filename of the graphic.

Is it possible to pass the contents of variable &quot;graphic1&quot;, (i.e.this is the file&#039;s name on my server) so I can use it in an html &quot;img src=&quot; statement. 

Thanx for any assistance with this...</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am new to php and mysql&#8230; Fairly proficient in HTML </p>
<p>My situation is:<br />
I have a mysql table with member info and a field named graphic1.  The variable graphic1 contains the member&#8217;s logo/graphic.</p>
<p>I am able to use mysql_query and fetch_array to echo the filename of the member&#8217;s graphic but I need to display the actual graphic, not just the filename of the graphic.</p>
<p>Is it possible to pass the contents of variable &#8220;graphic1&#8243;, (i.e.this is the file&#8217;s name on my server) so I can use it in an html &#8220;img src=&#8221; statement. </p>
<p>Thanx for any assistance with this&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
