<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>inserting a pic via PHP and MySql</title>
        <description>The 10 most recently added comments in the topic &quot;inserting a pic via PHP and MySql&quot;</description>
        <link>http://freewaytalk.net/</link>
        <lastBuildDate>Sat, 15 Nov 2008 22:40:58 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: inserting a pic via PHP and MySql</title>
            <link>http://freewaytalk.net/thread/view/33694#m_33697</link>
            <description>&lt;p&gt;Hi Walter,&lt;/p&gt;

&lt;p&gt;I have done the latter, thanks I will give that a try!!&lt;/p&gt;

&lt;p&gt;John&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>John Pye</author>
            <pubDate>Tue, 27 May 2008 13:15:27 -500</pubDate>
        </item>
        <item>
            <title>Re: inserting a pic via PHP and MySql</title>
            <link>http://freewaytalk.net/thread/view/33694#m_33695</link>
            <description>&lt;p&gt;If you have stored the image in your database as binary data, then
you will need a page that can pretend it is an image (send the right
content-type headers to be a GIF or JPEG or PNG) and pass an image
tag like &lt;code&gt;&amp;lt;img src=&quot;get_image.php?id=12345&quot; alt=&quot;&amp;lt;?=$image_alt?&amp;gt;&quot; /&amp;gt;&lt;/code&gt;
to it. That separate &amp;#8220;image getter&amp;#8221; file is critical &amp;#8212; it&amp;#8217;s not
possible to do this all in one PHP file.&lt;/p&gt;

&lt;p&gt;If you have simply stored the pathname of the image in your database
(more common technique) then you would simply print that out in your
page using a Markup item.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On May 27, 2008, at 9:05 AM, John Pye wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Hi all
  Starting a new project and teaching myself php &amp;amp; mysql..&lt;/p&gt;
  
  &lt;p&gt;I have managed to connect to my database and can pass data from it
  to a web page. the problem I am having is that I can not get the
  saved image to appear ..&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Tue, 27 May 2008 13:12:31 -500</pubDate>
        </item>
        <item>
            <title>inserting a pic via PHP and MySql</title>
            <link>http://freewaytalk.net/thread/view/33694</link>
            <description>&lt;p&gt;Hi all
Starting a new project and teaching myself php &amp;amp; mysql..&lt;/p&gt;

&lt;p&gt;I have managed to connect to my database and can pass data from it to a web page. the problem I am having is that I can not get the saved image to appear ..&lt;/p&gt;

&lt;p&gt;Can anyone help?&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;

&lt;p&gt;john&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>John Pye</author>
            <pubDate>Tue, 27 May 2008 13:05:20 -500</pubDate>
        </item>
    </channel>
</rss>
