<?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: Diving into PHP: Day 11</title>
	<atom:link href="http://blog.themeforest.net/tutorials/diving-into-php-day-11/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/</link>
	<description>The ThemeForest Blog</description>
	<lastBuildDate>Mon, 27 Sep 2010 19:49:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: fahrrad</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-21561</link>
		<dc:creator>fahrrad</dc:creator>
		<pubDate>Tue, 25 Aug 2009 18:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-21561</guid>
		<description>What about if a name already exist in the database and i want to get a error if the same name is submited again?</description>
		<content:encoded><![CDATA[<p>What about if a name already exist in the database and i want to get a error if the same name is submited again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whiz</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-19131</link>
		<dc:creator>whiz</dc:creator>
		<pubDate>Tue, 04 Aug 2009 21:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-19131</guid>
		<description>ray is right when u submit a name the prev one is shown on the list. beside u can submit empty fields - shouldnt we check if there is an output before we update the list?</description>
		<content:encoded><![CDATA[<p>ray is right when u submit a name the prev one is shown on the list. beside u can submit empty fields &#8211; shouldnt we check if there is an output before we update the list?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jqueryninja</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-19024</link>
		<dc:creator>jqueryninja</dc:creator>
		<pubDate>Tue, 04 Aug 2009 03:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-19024</guid>
		<description>@Ray - More than likely you figured this out a few weeks ago, but I believe your problem is that you were querying the database and building your &quot;name array&quot; before you processed the form. Because the insert into the database happens after you build your array (in your code), you are missing the last item. To solve simply move the   if($result) code block after the if(!empty section of code.

@Jeffrey - Not sure if you keep up on these comments after so many months, but I am very appreciative of this series. Keep up the great work on both Nettuts+ and themeforest.</description>
		<content:encoded><![CDATA[<p>@Ray &#8211; More than likely you figured this out a few weeks ago, but I believe your problem is that you were querying the database and building your &#8220;name array&#8221; before you processed the form. Because the insert into the database happens after you build your array (in your code), you are missing the last item. To solve simply move the   if($result) code block after the if(!empty section of code.</p>
<p>@Jeffrey &#8211; Not sure if you keep up on these comments after so many months, but I am very appreciative of this series. Keep up the great work on both Nettuts+ and themeforest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giles</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-16812</link>
		<dc:creator>Giles</dc:creator>
		<pubDate>Thu, 16 Jul 2009 05:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-16812</guid>
		<description>Hi Jeffrey,

Having a bit of trouble... I&#039;m trying this out with more than one row, but I don&#039;t know how to add more than one row to the array.

$item[] = $firstName;

That works fine, however the lastName row that I am using is the same for all of them. Would I do something like; 

$item[] = $firstName, $lastName;

...so that I can echo both variables in my foreach() statement?

Thanks for the help, 
Giles</description>
		<content:encoded><![CDATA[<p>Hi Jeffrey,</p>
<p>Having a bit of trouble&#8230; I&#8217;m trying this out with more than one row, but I don&#8217;t know how to add more than one row to the array.</p>
<p>$item[] = $firstName;</p>
<p>That works fine, however the lastName row that I am using is the same for all of them. Would I do something like; </p>
<p>$item[] = $firstName, $lastName;</p>
<p>&#8230;so that I can echo both variables in my foreach() statement?</p>
<p>Thanks for the help,<br />
Giles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-12998</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 09 Jun 2009 03:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-12998</guid>
		<description>Just a note Texter doesn&#039;t seem to work correctly on windows 7</description>
		<content:encoded><![CDATA[<p>Just a note Texter doesn&#8217;t seem to work correctly on windows 7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-12401</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 02 Jun 2009 20:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-12401</guid>
		<description>Guys,

I have this strange thing going on, where everything seems to work great, yet when i press the submit button it returns the value i added in the textbox before the last entry.

Example:

I input &#039;Some Guy&#039; -&gt; Nothing happens
I input &#039;Some Girl&#039; -&gt; it echoes &#039;Some Guy&#039;
I input &#039;Some Boy&#039; -&gt; it echoes &#039;Some Girl&#039;

etc.

One could state it lags 1 name behind.

We  might have seen this happen in the above screencast at the end, where Jeffrey entered a value twice athe the end of the tut. But no one mentioned this so i might be wrong :)

Any ideas? Thanks!!

Ray</description>
		<content:encoded><![CDATA[<p>Guys,</p>
<p>I have this strange thing going on, where everything seems to work great, yet when i press the submit button it returns the value i added in the textbox before the last entry.</p>
<p>Example:</p>
<p>I input &#8216;Some Guy&#8217; -&gt; Nothing happens<br />
I input &#8216;Some Girl&#8217; -&gt; it echoes &#8216;Some Guy&#8217;<br />
I input &#8216;Some Boy&#8217; -&gt; it echoes &#8216;Some Girl&#8217;</p>
<p>etc.</p>
<p>One could state it lags 1 name behind.</p>
<p>We  might have seen this happen in the above screencast at the end, where Jeffrey entered a value twice athe the end of the tut. But no one mentioned this so i might be wrong <img src='http://blog.themeforest.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Any ideas? Thanks!!</p>
<p>Ray</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markj</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-9937</link>
		<dc:creator>markj</dc:creator>
		<pubDate>Thu, 07 May 2009 16:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-9937</guid>
		<description>Can I just ask why I would get an error like this please? It happens even when I copy and paste your code.

Fatal error: [] operator not supported for strings in /var/www/vhosts/mark.bluebit.co.uk/httpdocs/php/day11/index.php on line 9</description>
		<content:encoded><![CDATA[<p>Can I just ask why I would get an error like this please? It happens even when I copy and paste your code.</p>
<p>Fatal error: [] operator not supported for strings in /var/www/vhosts/mark.bluebit.co.uk/httpdocs/php/day11/index.php on line 9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-8725</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 15 Apr 2009 15:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-8725</guid>
		<description>Can you show teach us how to email form data along with an uploaded file? I have looked around some forums for an answer but they just tell you to use the free phpmailer. This of course doesn&#039;t teach me how the process actually works.

I would love to see you do a tutorial on this and from the comments I&#039;ve seen around in the forums I am confident others would too.

Thanks again for your superb videos!</description>
		<content:encoded><![CDATA[<p>Can you show teach us how to email form data along with an uploaded file? I have looked around some forums for an answer but they just tell you to use the free phpmailer. This of course doesn&#8217;t teach me how the process actually works.</p>
<p>I would love to see you do a tutorial on this and from the comments I&#8217;ve seen around in the forums I am confident others would too.</p>
<p>Thanks again for your superb videos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wrerm</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-7790</link>
		<dc:creator>wrerm</dc:creator>
		<pubDate>Sat, 28 Mar 2009 00:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-7790</guid>
		<description>Jeff did your page update automatically when you clicked &quot;Submit&quot; ????</description>
		<content:encoded><![CDATA[<p>Jeff did your page update automatically when you clicked &#8220;Submit&#8221; ????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.themeforest.net/tutorials/diving-into-php-day-11/comment-page-1/#comment-7451</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 22 Mar 2009 21:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1459#comment-7451</guid>
		<description>I&#039;m shocked that there was no mention of PDO. In any case, I really like the tutorials. I hope we get into some more advanced stuff like OOP &amp; Zend Framework.</description>
		<content:encoded><![CDATA[<p>I&#8217;m shocked that there was no mention of PDO. In any case, I really like the tutorials. I hope we get into some more advanced stuff like OOP &amp; Zend Framework.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
