<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=PHP-and-MySQL%2FC4%2FUser-Registration-Part-1%2FEnglish-timed</id>
		<title>PHP-and-MySQL/C4/User-Registration-Part-1/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=PHP-and-MySQL%2FC4%2FUser-Registration-Part-1%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;action=history"/>
		<updated>2026-05-04T03:25:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=34141&amp;oldid=prev</id>
		<title>PoojaMoolya at 12:23, 24 March 2017</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=34141&amp;oldid=prev"/>
				<updated>2017-03-24T12:23:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:23, 24 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 135:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 135:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|What we do need is the &amp;quot;date&amp;quot;. But I will do that when I submit the form.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|What we do need is the &amp;quot;date&amp;quot;. But I will do that when I submit the form.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|06&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;31&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|06&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;31&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Okay, so this is our '''form''' created. Let's go back and refresh. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Okay, so this is our '''form''' created. Let's go back and refresh. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=22428&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:34, 8 June 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=22428&amp;oldid=prev"/>
				<updated>2015-06-08T12:34:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;amp;diff=22428&amp;amp;oldid=13386&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=13386&amp;oldid=prev</id>
		<title>Pratik kamble at 08:54, 10 July 2014</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=13386&amp;oldid=prev"/>
				<updated>2014-07-10T08:54:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;amp;diff=13386&amp;amp;oldid=6736&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Pratik kamble</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=6736&amp;oldid=prev</id>
		<title>Gyan: Created page with '{| border=1 !Time !Narration |- |0:00 |Welcome to the Spoken Tutorial on how to create a user registration form and how to register a user into mysql database. |- |0:09 |One sugg…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/User-Registration-Part-1/English-timed&amp;diff=6736&amp;oldid=prev"/>
				<updated>2013-10-25T11:11:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Time !Narration |- |0:00 |Welcome to the Spoken Tutorial on how to create a user registration form and how to register a user into mysql database. |- |0:09 |One sugg…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Time&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
|0:00&lt;br /&gt;
|Welcome to the Spoken Tutorial on how to create a user registration form and how to register a user into mysql database.&lt;br /&gt;
|-&lt;br /&gt;
|0:09&lt;br /&gt;
|One suggestion before starting this tutorial is that you watch my &amp;quot;User login&amp;quot; tutorials first. I've posted a link to it.&lt;br /&gt;
|-&lt;br /&gt;
|0:19&lt;br /&gt;
|I would suggest that you do so before going through these tutorials. The reason I have created &amp;quot;User login&amp;quot; before &amp;quot;User registration&amp;quot; is because I find it a lot easier to do the &amp;quot;User login&amp;quot; process before doing the &amp;quot;Registration&amp;quot; process.&lt;br /&gt;
|-&lt;br /&gt;
|0:34&lt;br /&gt;
|Once you've got the &amp;quot;login&amp;quot; process right and you've got the fields in the database you can start our registration process. &lt;br /&gt;
|-&lt;br /&gt;
|0:43&lt;br /&gt;
|I just find it a lot more easier to this way, as you know what you're registering in to your data base.&lt;br /&gt;
|-&lt;br /&gt;
|0:49&lt;br /&gt;
|To start with, in the first part we will create our form and check for the existence of my login information.&lt;br /&gt;
|-&lt;br /&gt;
|0:56&lt;br /&gt;
|From my existing tutorials, I am using my &amp;quot;login session&amp;quot; folder.&lt;br /&gt;
|-&lt;br /&gt;
|1:03&lt;br /&gt;
|This here is my login session and all my fields but here I will create a new file.&lt;br /&gt;
|-&lt;br /&gt;
|1:12&lt;br /&gt;
|Just add some tags first. &lt;br /&gt;
|-&lt;br /&gt;
|1:15&lt;br /&gt;
|I will create this inside my login session folder with the &amp;quot;index dot php&amp;quot; which is the main page you saw.&lt;br /&gt;
|-&lt;br /&gt;
|1:22&lt;br /&gt;
|Log in, log out and the member page if users are logged in and I will save this as &amp;quot;register dot php&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|1:32&lt;br /&gt;
|I am creating a user registration form so that the user can register before they decide to login.&lt;br /&gt;
|-&lt;br /&gt;
|1:40&lt;br /&gt;
|I have created my &amp;quot;register dot php&amp;quot; and I am also going to open my index file. I will create a link underneath the form.&lt;br /&gt;
|-&lt;br /&gt;
|1:48&lt;br /&gt;
|And this is going to be just a link to that register page and I will type &amp;quot;Register&amp;quot; here. &lt;br /&gt;
|-&lt;br /&gt;
|2:02&lt;br /&gt;
|So what we get here is a link called &amp;quot;Register&amp;quot; which goes to our page where we have nothing at the moment.&lt;br /&gt;
|-&lt;br /&gt;
|2:09&lt;br /&gt;
|Following from the last tutorial where we could login, I will just put a link to a page that you can register before you do this.&lt;br /&gt;
|-&lt;br /&gt;
|2:20&lt;br /&gt;
|Before we were just typing data into our database.  If I open up a new window, I will go across to &amp;quot;php my admin&amp;quot;. &lt;br /&gt;
|-&lt;br /&gt;
|2:29&lt;br /&gt;
|And this is the database that will be used called &amp;quot;php login&amp;quot; and this is my &amp;quot;users&amp;quot; table. &lt;br /&gt;
|-&lt;br /&gt;
|2:38&lt;br /&gt;
|You can see I have added an extra field called &amp;quot;name&amp;quot; and I will add another field called &amp;quot;date&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|2:47&lt;br /&gt;
|At the end of the table that's going to be called &amp;quot;date&amp;quot; and it will be in date format.  So where is it?  Um.... Here it is.&lt;br /&gt;
|-&lt;br /&gt;
|3:04&lt;br /&gt;
|Before you get confused about what the date will be, it will be the current date when the users registered and we go there and save that.&lt;br /&gt;
|-&lt;br /&gt;
|3:15&lt;br /&gt;
|So from the last tutorial on the &amp;quot;User login&amp;quot; we just have id, username and password. Now I have added a name so its going to be the user name and we've added date, the date when he registered.&lt;br /&gt;
|-&lt;br /&gt;
|3:29&lt;br /&gt;
|Just browse in here. We have got a couple of values here already. &lt;br /&gt;
|-&lt;br /&gt;
|3:35&lt;br /&gt;
|I will delete these because I am registering my users. So I can start from a clean database.&lt;br /&gt;
|-&lt;br /&gt;
|3:40&lt;br /&gt;
|Assuming I have got no users at all and I have got my link here to the register page, here is my register page.&lt;br /&gt;
|-&lt;br /&gt;
|3:49&lt;br /&gt;
|Now I'll briefly explain this html code which tells you how to create this page and we will have a form first of all. &lt;br /&gt;
|-&lt;br /&gt;
|3:59&lt;br /&gt;
|This is going to be a self submitting form. It's going to submit back to &amp;quot;register dot php&amp;quot;. &lt;br /&gt;
|-&lt;br /&gt;
|4:07&lt;br /&gt;
|And we are going to create a table and inside this we will have a row here.&lt;br /&gt;
|-&lt;br /&gt;
|4:13&lt;br /&gt;
|Then we have two columns, so two td blocks here and the 1st one will have, say your fullname &lt;br /&gt;
|-&lt;br /&gt;
|4:21&lt;br /&gt;
|I leave it up to you.  Just to speed up I will do it this way.&lt;br /&gt;
|-&lt;br /&gt;
|4:29&lt;br /&gt;
|In our second column here, I will put my input type as &amp;quot;text&amp;quot; and my name equals &amp;quot;fullname&amp;quot;. &lt;br /&gt;
|-&lt;br /&gt;
|4:38&lt;br /&gt;
|So you can see at the moment, let me go back to my original page, click on register.&lt;br /&gt;
|-&lt;br /&gt;
|4:47&lt;br /&gt;
|You can see, this is one column here, split down here. This is another column with the input box in.&lt;br /&gt;
|-&lt;br /&gt;
|4:56&lt;br /&gt;
|And I will also go up here and inside the php code, I will echo out a header.  I will explain a bit later why I have done this.&lt;br /&gt;
|-&lt;br /&gt;
|5:07&lt;br /&gt;
|So we got that.  At the moment we have this. To speed up, I will just copy and paste this down.&lt;br /&gt;
|-&lt;br /&gt;
|5:15&lt;br /&gt;
|So make sure you choose from &amp;quot;t r&amp;quot; till &amp;quot;end t r&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|5:22&lt;br /&gt;
|I will paste it down and then I will say &amp;quot;Choose a username&amp;quot; and obviously I will change this to &amp;quot;username&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|5:32&lt;br /&gt;
|I will paste that again and say &amp;quot;Choose a password&amp;quot;.  This text is just to secure in case any one's looking over our users' shoulder or any screen capture software being used to infiltrate this computer.&lt;br /&gt;
|-&lt;br /&gt;
|5:47&lt;br /&gt;
|And the next one down here I will just copy and paste this here to say &amp;quot;Repeat your password&amp;quot;. &lt;br /&gt;
|-&lt;br /&gt;
|5:58&lt;br /&gt;
|Again &amp;quot;password&amp;quot; here. &lt;br /&gt;
|-&lt;br /&gt;
|6:07&lt;br /&gt;
|We can't say &amp;quot;password&amp;quot; again so I will call this &amp;quot;repeat password&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|6:10&lt;br /&gt;
|We will use this to compare the passwords once they have been submitted as a safety measure in case the user made any mistakes.&lt;br /&gt;
|-&lt;br /&gt;
|6:20&lt;br /&gt;
|And we don't need any other field. That is the last one. &lt;br /&gt;
|-&lt;br /&gt;
|6:24&lt;br /&gt;
|What we do need is the &amp;quot;date&amp;quot;. But I will do that when I submit the form.&lt;br /&gt;
|-&lt;br /&gt;
|6.31&lt;br /&gt;
|Okay so this is our form created. Lets go back and refresh. &lt;br /&gt;
|-&lt;br /&gt;
|6:37&lt;br /&gt;
|You can see how this is evenly arranged, that's why we have used a table. &lt;br /&gt;
|-&lt;br /&gt;
|6:42&lt;br /&gt;
|We need a submit button also. &lt;br /&gt;
|-&lt;br /&gt;
|6:45&lt;br /&gt;
|Underneath our table, I will create a paragraph break.&lt;br /&gt;
|-&lt;br /&gt;
|6:48&lt;br /&gt;
|And my input type here is going to be &amp;quot;submit&amp;quot;; my name is going to be &amp;quot;submit&amp;quot;. &lt;br /&gt;
|-&lt;br /&gt;
|6:54&lt;br /&gt;
|And we have to check the existence and the value will just be &amp;quot;register&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|6:57&lt;br /&gt;
|Lets refresh. There we are, you can see that the password fields have been blanked out.&lt;br /&gt;
|-&lt;br /&gt;
|7:05&lt;br /&gt;
|Also we have a fullname and username there for the users to type their values.&lt;br /&gt;
|-&lt;br /&gt;
|7:12&lt;br /&gt;
|Okay that's about it.  I will stop the tutorial here. &lt;br /&gt;
|-&lt;br /&gt;
|7:16&lt;br /&gt;
|If you are following this step by step, make sure you have got your form written out and try out another design if you wish. &lt;br /&gt;
|-&lt;br /&gt;
|7:25&lt;br /&gt;
|I wish I had more time to do it. So go ahead and create your form as you want.&lt;br /&gt;
|-&lt;br /&gt;
|7:30&lt;br /&gt;
|Do anything you want to it.  Change these labels.&lt;br /&gt;
|-&lt;br /&gt;
|7:33&lt;br /&gt;
|Just make sure you got your boxes and your register. &lt;br /&gt;
|-&lt;br /&gt;
|7:35&lt;br /&gt;
|In the next part we will talk about checking that the user has typed each one of these fields in.&lt;br /&gt;
|-&lt;br /&gt;
|7:44&lt;br /&gt;
|We will compare the passwords to see if they match. I mean if I say there are two passwords and these don't match as they differ in character length, then the user can't register as they might have made a mistake.&lt;br /&gt;
|-&lt;br /&gt;
|7:59&lt;br /&gt;
|I am sure most of you watching must have registered at some point and would have typed in your password again. &lt;br /&gt;
|-&lt;br /&gt;
|8:07&lt;br /&gt;
|We will also encrypt our passwords and remove any dangerous or any pretentiously dangerous html tags from these forms. So we'll have some bit of security to our registration form. &lt;br /&gt;
|-&lt;br /&gt;
|8:17&lt;br /&gt;
|So I see in the next part. Thanks for watching. This is Sidhartha dubbing for the Spoken Tutorial project.&lt;/div&gt;</summary>
		<author><name>Gyan</name></author>	</entry>

	</feed>