<?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: PHP Confirm Registration Link</title>
	<atom:link href="http://php4every1.com/tutorials/php-confirm-registration-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://php4every1.com/tutorials/php-confirm-registration-link/</link>
	<description>Blog with PHP, MySQL and other tutorials. You can also download my scripts, report a bug or leave a feedback.</description>
	<lastBuildDate>Wed, 01 Sep 2010 10:29:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-2708</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Fri, 05 Mar 2010 13:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-2708</guid>
		<description>I&#039;m not quite sure that I understand you. You did not get confirmation e-mail or what? What do you want to change?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not quite sure that I understand you. You did not get confirmation e-mail or what? What do you want to change?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nettie Jonker</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-2697</link>
		<dc:creator>Nettie Jonker</dc:creator>
		<pubDate>Thu, 04 Mar 2010 14:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-2697</guid>
		<description>Hello Marijan,

The tutorial, is not working.
When I register,  the words of check your email are not seen.
adres is by example http:www.namesite
Or do I have to change here.
When I check my email I confirm, but I lost &quot;path&quot;   The email is in the database.
you can see confirm is 1. But when I want to log in there stood , email doesn&#039;t exit.
I try a lot of things. I hope you recognize the problem. Thank you vere much.</description>
		<content:encoded><![CDATA[<p>Hello Marijan,</p>
<p>The tutorial, is not working.<br />
When I register,  the words of check your email are not seen.<br />
adres is by example http:www.namesite<br />
Or do I have to change here.<br />
When I check my email I confirm, but I lost &#8220;path&#8221;   The email is in the database.<br />
you can see confirm is 1. But when I want to log in there stood , email doesn&#8217;t exit.<br />
I try a lot of things. I hope you recognize the problem. Thank you vere much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1067</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1067</guid>
		<description>You should use SQL syntax like this 
&lt;code&gt;$sql = &#039;INSERT INTO `tutor_userconfstr` ( &#039;
. &#039;`email`, `conf_string`, `nameOfYouField` &#039;
. &#039;) &#039;
. &#039;VALUES ( &#039;
. &quot;&#039;%s&#039;, &#039;%s&#039;, &#039;%s&#039; &quot;
&#039;)&#039;;&lt;/code&gt;

Replace &lt;i&gt;nameOfYourField&lt;/i&gt; with actual name of your field in database and not that now in sprintf you need to add variable that holds name.

About quick validation I would check with regular expression if it contains only letters and if it&#039;s length is 2+ characters. This is that simple regular expression
&lt;code&gt;/^[a-zA-Z]{2,}$/&lt;/code&gt;.

It should work :).</description>
		<content:encoded><![CDATA[<p>You should use SQL syntax like this<br />
<code>$sql = 'INSERT INTO `tutor_userconfstr` ( '<br />
. '`email`, `conf_string`, `nameOfYouField` '<br />
. ') '<br />
. 'VALUES ( '<br />
. "'%s', '%s', '%s' "<br />
')';</code></p>
<p>Replace <i>nameOfYourField</i> with actual name of your field in database and not that now in sprintf you need to add variable that holds name.</p>
<p>About quick validation I would check with regular expression if it contains only letters and if it&#8217;s length is 2+ characters. This is that simple regular expression<br />
<code>/^[a-zA-Z]{2,}$/</code>.</p>
<p>It should work <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1066</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1066</guid>
		<description>Marijan-

No problem adding the fild &quot;name&quot; to the database. The error I&#039;m getting is referencing the field in the sql query: 

$sql = &#039;INSERT INTO `tutor_userconfstr` ( &#039;
. &#039;`email`, `conf_string`&#039;
. &#039;) &#039;
. &#039;VALUES ( &#039;
. &quot;&#039;%s&#039;, &#039;%s&#039; &quot;

Not sure how to reference  it. Also, do you have some quick validation for the name field?

Thanks again for the help!
. &#039;)&#039;;</description>
		<content:encoded><![CDATA[<p>Marijan-</p>
<p>No problem adding the fild &#8220;name&#8221; to the database. The error I&#8217;m getting is referencing the field in the sql query: </p>
<p>$sql = &#8216;INSERT INTO `tutor_userconfstr` ( &#8216;<br />
. &#8216;`email`, `conf_string`&#8217;<br />
. &#8216;) &#8216;<br />
. &#8216;VALUES ( &#8216;<br />
. &#8220;&#8216;%s&#8217;, &#8216;%s&#8217; &#8221;</p>
<p>Not sure how to reference  it. Also, do you have some quick validation for the name field?</p>
<p>Thanks again for the help!<br />
. &#8216;)&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1064</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 09 Nov 2009 13:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1064</guid>
		<description>First you need to add it in phpMyAdmin or using MySQL command 
&lt;code&gt;ALTER TABLE `tableName` ADD COLUMN `columnName` VARCHAR(50);&lt;/code&gt;.

Then you have to add that field to your HTML code and add some validation to &lt;i&gt;register.php&lt;/i&gt; and change your SQL so that it now inserts name with other data. 

I hope it helps :).</description>
		<content:encoded><![CDATA[<p>First you need to add it in phpMyAdmin or using MySQL command<br />
<code>ALTER TABLE `tableName` ADD COLUMN `columnName` VARCHAR(50);</code>.</p>
<p>Then you have to add that field to your HTML code and add some validation to <i>register.php</i> and change your SQL so that it now inserts name with other data. </p>
<p>I hope it helps <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1063</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 09 Nov 2009 11:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1063</guid>
		<description>Marijan-

This is a great tutorial! I&#039;m interested in adding a name field to the form and db - could you give me a quick pointer? Thanks!</description>
		<content:encoded><![CDATA[<p>Marijan-</p>
<p>This is a great tutorial! I&#8217;m interested in adding a name field to the form and db &#8211; could you give me a quick pointer? Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
