<?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%2FSimple-Visitor-Counter%2FEnglish-timed</id>
		<title>PHP-and-MySQL/C4/Simple-Visitor-Counter/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%2FSimple-Visitor-Counter%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;action=history"/>
		<updated>2026-05-13T15:20:57Z</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/Simple-Visitor-Counter/English-timed&amp;diff=34096&amp;oldid=prev</id>
		<title>PoojaMoolya at 11:40, 24 March 2017</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=34096&amp;oldid=prev"/>
				<updated>2017-03-24T11:40:52Z</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 11:40, 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 211:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 211:&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;&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;|05:41&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;|05:41&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;|It's not working!&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;|It's not working!Ok, so let's check this code.&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|-&lt;/del&gt;&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;&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|05:42&lt;/del&gt;&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;&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;Ok, so let's check this code.&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;&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;&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;|05:44&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;|05:44&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 223:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 220:&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;&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;|06:06&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;|06:06&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;|So, &amp;quot;count.txt&amp;quot;.&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;|So, &amp;quot;count.txt&amp;quot;.Now this time, we are adding 1 each time we refresh.&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|-&lt;/del&gt;&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;&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|06:07&lt;/del&gt;&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;&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;Now this time, we are adding 1 each time we refresh.&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;&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;&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;|06:12&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;|06:12&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/Simple-Visitor-Counter/English-timed&amp;diff=22306&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:45, 2 June 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=22306&amp;oldid=prev"/>
				<updated>2015-06-02T12:45:10Z</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:45, 2 June 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 154:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 154:&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;&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;|04:00&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;|04:00&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;|And then what we'll say is '''$visitors'''&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;|And then what we'll say is '''$visitors'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&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;&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;|04:05&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;|04:05&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 259:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 259:&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;&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;|06:57&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;|06:57&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;|This will always echo out '$visitors'&amp;#160; &amp;#160;&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;|This will always echo out '$visitors'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. &lt;/ins&gt; &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;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;|06:59&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;|06:59&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=22305&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:41, 2 June 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=22305&amp;oldid=prev"/>
				<updated>2015-06-02T12:41:51Z</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/Simple-Visitor-Counter/English-timed&amp;amp;diff=22305&amp;amp;oldid=13330&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/Simple-Visitor-Counter/English-timed&amp;diff=13330&amp;oldid=prev</id>
		<title>Pratik kamble at 06:33, 10 July 2014</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=13330&amp;oldid=prev"/>
				<updated>2014-07-10T06:33:42Z</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 06:33, 10 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;{|Border=1&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;{|Border=1&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;!&lt;/del&gt;Time&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|'''&lt;/ins&gt;Time&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;!&lt;/del&gt;Narration&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|'''&lt;/ins&gt;Narration&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;&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;&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;|00:00&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;|00:00&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pratik kamble</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=13329&amp;oldid=prev</id>
		<title>Pratik kamble at 06:33, 10 July 2014</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=13329&amp;oldid=prev"/>
				<updated>2014-07-10T06:33:22Z</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/Simple-Visitor-Counter/English-timed&amp;amp;diff=13329&amp;amp;oldid=6723&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/Simple-Visitor-Counter/English-timed&amp;diff=6723&amp;oldid=prev</id>
		<title>Gyan: Created page with '{|Border=1 !Time !Narration |- |0:00 |Welcome to this tutorial on a page counter.   |- |0:02 |This will count how many people have visited your page per refresh.  |- |0:07 |So ev…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C4/Simple-Visitor-Counter/English-timed&amp;diff=6723&amp;oldid=prev"/>
				<updated>2013-10-25T10:19:57Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{|Border=1 !Time !Narration |- |0:00 |Welcome to this tutorial on a page counter.   |- |0:02 |This will count how many people have visited your page per refresh.  |- |0:07 |So ev…&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 this tutorial on a page counter.  &lt;br /&gt;
|-&lt;br /&gt;
|0:02&lt;br /&gt;
|This will count how many people have visited your page per refresh. &lt;br /&gt;
|-&lt;br /&gt;
|0:07&lt;br /&gt;
|So every time someone enters the page, a value will be incremented, will be stored in a text file and it will be displayed to the user.&lt;br /&gt;
|-&lt;br /&gt;
|0:15&lt;br /&gt;
|Or you can keep it to yourself. Its your choice whether you want to display.&lt;br /&gt;
|-&lt;br /&gt;
|0:19&lt;br /&gt;
|Please note, this is a very simple way of doing this.&lt;br /&gt;
|-&lt;br /&gt;
|0:21&lt;br /&gt;
|It won't count unique visitors.&lt;br /&gt;
|-&lt;br /&gt;
|0:23&lt;br /&gt;
|I'll make a unique visitors tutorial soon.&lt;br /&gt;
|-&lt;br /&gt;
|0:27&lt;br /&gt;
|It'll probably be available by the time you are viewing this.&lt;br /&gt;
|-&lt;br /&gt;
|0:30&lt;br /&gt;
|So check it out.  It will be more specific.&lt;br /&gt;
|-&lt;br /&gt;
|0:33&lt;br /&gt;
|It deals with IP addresses.&lt;br /&gt;
|-&lt;br /&gt;
|0:35&lt;br /&gt;
|However, for now this is a basic counter tutorial and its using file-storage as opposed to database-storage.&lt;br /&gt;
|-&lt;br /&gt;
|0:42&lt;br /&gt;
|Ok.  So the first thing we need to do is create a file in which to store our value in.&lt;br /&gt;
|-&lt;br /&gt;
|0:48&lt;br /&gt;
|There are 2 ways to do this.&lt;br /&gt;
|-&lt;br /&gt;
|0:50&lt;br /&gt;
|Either right-click and create a new text document.&lt;br /&gt;
|-&lt;br /&gt;
|0:53&lt;br /&gt;
|Or what I'll show you is how to create a file for opening, which is the function 'fopen'.&lt;br /&gt;
|-&lt;br /&gt;
|0:59&lt;br /&gt;
|And we'll store it in the file variable.  But its not manadatory.&lt;br /&gt;
|-&lt;br /&gt;
|1:05&lt;br /&gt;
|And we'll say count.php and another parameter for this is whether you want it for writing, for reading or to append that, for example.&lt;br /&gt;
|-&lt;br /&gt;
|1:22&lt;br /&gt;
|So, I'll say for writing.&lt;br /&gt;
|-&lt;br /&gt;
|1:26&lt;br /&gt;
|Ok.  Now I'll say 'fwrite' and I'll write to file and I'll create a value of zero.&lt;br /&gt;
|-&lt;br /&gt;
|1:36&lt;br /&gt;
|So, now we'll open our page-up and refresh.&lt;br /&gt;
|-&lt;br /&gt;
|1:41&lt;br /&gt;
|We've got counter.php.  Click on that and when we go back see if we've got count.php &lt;br /&gt;
|-&lt;br /&gt;
|1:49&lt;br /&gt;
|So, .txt&lt;br /&gt;
|-&lt;br /&gt;
|1:51&lt;br /&gt;
|So, lets refresh this.&lt;br /&gt;
|-&lt;br /&gt;
|1:54&lt;br /&gt;
|Ok, so now we should have a .txt file.&lt;br /&gt;
|-&lt;br /&gt;
|2:00&lt;br /&gt;
|Let me remove this - count.php.&lt;br /&gt;
|-&lt;br /&gt;
|2:05&lt;br /&gt;
|Now we've done that and we really don't need this code.&lt;br /&gt;
|-&lt;br /&gt;
|2:08&lt;br /&gt;
|So I'll delete this part but I'll retain this and now I'll say I want to read from the file.&lt;br /&gt;
|-&lt;br /&gt;
|2:14&lt;br /&gt;
|You could type this manually also. You just have to create a file for writing instead of reading.&lt;br /&gt;
|-&lt;br /&gt;
|2:22&lt;br /&gt;
|So, we've got our file and we've got our value of zero in it.&lt;br /&gt;
|-&lt;br /&gt;
|2:26&lt;br /&gt;
|So, lets open it and see.&lt;br /&gt;
|-&lt;br /&gt;
|2:28&lt;br /&gt;
|Yes, we've got count.txt with zero that will read this and put it into that.&lt;br /&gt;
|-&lt;br /&gt;
|2:34&lt;br /&gt;
|So, now, I need to get the contents of the file.&lt;br /&gt;
|-&lt;br /&gt;
|2:37&lt;br /&gt;
|So, instead of 'fopen' I'll say, 'file_get_contents'.&lt;br /&gt;
|-&lt;br /&gt;
|2:42&lt;br /&gt;
|So, I'll type 'file_get_contents'.&lt;br /&gt;
|-&lt;br /&gt;
|2:44&lt;br /&gt;
|And that will get the contents of 'count.txt'.&lt;br /&gt;
|-&lt;br /&gt;
|2:48&lt;br /&gt;
|Ok.  Then I'll say 'echo' and use the variable and I'll say 'echo file'.&lt;br /&gt;
|-&lt;br /&gt;
|2:52&lt;br /&gt;
|Now what this will do is it will say file_get_contents and it will get the contents of our text file with our count variable in there.&lt;br /&gt;
|-&lt;br /&gt;
|3:02&lt;br /&gt;
|And it will say echo out the contents of the file.&lt;br /&gt;
|-&lt;br /&gt;
|3:05&lt;br /&gt;
|So, lets go back to our page and we will refresh. &lt;br /&gt;
|-&lt;br /&gt;
|3:07&lt;br /&gt;
|Click on counter and we've got zero at the moment.&lt;br /&gt;
|-&lt;br /&gt;
|3:10&lt;br /&gt;
|Refreshing.  Its still staying at zero as displayed here.&lt;br /&gt;
|-&lt;br /&gt;
|3:14&lt;br /&gt;
|If I change this to 'hello' and I went back to our page and refreshed, it'll have the value 'hello'.&lt;br /&gt;
|-&lt;br /&gt;
|3:20&lt;br /&gt;
|So, we are just echoing out whatever is in this text file at the moment.&lt;br /&gt;
|-&lt;br /&gt;
|3:25&lt;br /&gt;
|And right now its zero - the integer zero.&lt;br /&gt;
|-&lt;br /&gt;
|3:30&lt;br /&gt;
|Now to echo this, I'll say 'You've had file visitors'.&lt;br /&gt;
|-&lt;br /&gt;
|3:37&lt;br /&gt;
|So, that will give us something like that.&lt;br /&gt;
|-&lt;br /&gt;
|3:40&lt;br /&gt;
|Now, what I'll do is I will create a new variable called 'visitors'.&lt;br /&gt;
|-&lt;br /&gt;
|3:46&lt;br /&gt;
|And I'll say that is equal to 'file'.&lt;br /&gt;
|-&lt;br /&gt;
|3:50&lt;br /&gt;
|I'll put this up here to be more efficient and easy to read as well. &lt;br /&gt;
|-&lt;br /&gt;
|3:55&lt;br /&gt;
|And I'll say 'visitors' and we can tell what this is going to be.&lt;br /&gt;
|-&lt;br /&gt;
|4:00&lt;br /&gt;
|And then what we'll say is visitors&lt;br /&gt;
|-&lt;br /&gt;
|4:05&lt;br /&gt;
|Visit-ors - new - equals this vistors plus 1.&lt;br /&gt;
|-&lt;br /&gt;
|4:14&lt;br /&gt;
|So this will be our new value.&lt;br /&gt;
|-&lt;br /&gt;
|4:17&lt;br /&gt;
|Then I'll go ahead and say 'filenew', so I'm creating a new file.&lt;br /&gt;
|-&lt;br /&gt;
|4:22&lt;br /&gt;
|I'll open that as count.txt because that's what it is.&lt;br /&gt;
|-&lt;br /&gt;
|4:27&lt;br /&gt;
|And I'll say to write this file.&lt;br /&gt;
|-&lt;br /&gt;
|4:30&lt;br /&gt;
|Now if it was 'a+' that means 'append' - so I'm appending something onto the file, which means that I'm adding to it.&lt;br /&gt;
|-&lt;br /&gt;
|4:38&lt;br /&gt;
|What I want to do is overwrite, so I'll put 'w'.&lt;br /&gt;
|-&lt;br /&gt;
|4:42&lt;br /&gt;
|And then I'll say 'fwrite' like we did in our first part - to 'filenew'.&lt;br /&gt;
|-&lt;br /&gt;
|4:47&lt;br /&gt;
|And the value that I need to write is 'visitorsnew'.&lt;br /&gt;
|-&lt;br /&gt;
|4:50&lt;br /&gt;
|This is going to work.  Lets just go through it before you run it.&lt;br /&gt;
|-&lt;br /&gt;
|4:55&lt;br /&gt;
|We've got our main file and that's getting the contents of our count.txt which is zero at the moment.&lt;br /&gt;
|-&lt;br /&gt;
|5:04&lt;br /&gt;
|We're setting our variable called 'visitors' to the contents of the file.&lt;br /&gt;
|-&lt;br /&gt;
|5:07&lt;br /&gt;
|We're echoing out to the user how many visitors there have been. &lt;br /&gt;
|-&lt;br /&gt;
|5:11&lt;br /&gt;
|And we're creating a new variable with the 'visitors + 1' - namely the person that is viewing this page at the moment.  &lt;br /&gt;
|-&lt;br /&gt;
|5:20&lt;br /&gt;
|That becomes significant.  That's the person adding the extra 1 in there.&lt;br /&gt;
|-&lt;br /&gt;
|5:24&lt;br /&gt;
|And then we're opening a new file as we saw in the start of this tutorial but instead we're using 'w' for write.&lt;br /&gt;
|-&lt;br /&gt;
|5:32&lt;br /&gt;
|Then we're writing to our new file the new value which is increment of 1.&lt;br /&gt;
|-&lt;br /&gt;
|5:37&lt;br /&gt;
|So, lets refresh and you can see - oh!.&lt;br /&gt;
|-&lt;br /&gt;
|5:41&lt;br /&gt;
|Its not working!&lt;br /&gt;
|-&lt;br /&gt;
|5:42&lt;br /&gt;
|Ok, so lets check this code.&lt;br /&gt;
|-&lt;br /&gt;
|5:44&lt;br /&gt;
|Lets check the spelling of visitors - Visit-ors new.  Ok.  Visit-ors.  &lt;br /&gt;
|-&lt;br /&gt;
|6:01&lt;br /&gt;
|That's the reason.  I had to put a 'n' there.  &lt;br /&gt;
|-&lt;br /&gt;
|6:06&lt;br /&gt;
|So, count.txt.&lt;br /&gt;
|-&lt;br /&gt;
|6:07&lt;br /&gt;
|Now this time, we are adding 1 each time we refresh.&lt;br /&gt;
|-&lt;br /&gt;
|6:12&lt;br /&gt;
|You can see that the value is in fact going up.&lt;br /&gt;
|-&lt;br /&gt;
|6:16&lt;br /&gt;
|Now obviously, to reset this, all you would have to do is - &lt;br /&gt;
|-&lt;br /&gt;
|6:19&lt;br /&gt;
|Ah! a warning. 'count.txt' has been changed because we have edited it.&lt;br /&gt;
|-&lt;br /&gt;
|6:24&lt;br /&gt;
|I'll say 'reload from disk'.&lt;br /&gt;
|-&lt;br /&gt;
|6:27&lt;br /&gt;
|And its changed to 19, as you can see, it displayed 18 there.&lt;br /&gt;
|-&lt;br /&gt;
|6:30&lt;br /&gt;
|The reason is that we're echoing this out before we put our new value in.&lt;br /&gt;
|-&lt;br /&gt;
|6:35&lt;br /&gt;
|So, for maximum efficiency and to get the actual correct value I'll put this code down there.&lt;br /&gt;
|-&lt;br /&gt;
|6:41&lt;br /&gt;
|As matter of fact, when I am refreshing here and lets say, we get to 25 visitors and we come back here, we'll have the value 26.&lt;br /&gt;
|-&lt;br /&gt;
|6:51&lt;br /&gt;
|Ok, well, maybe I'm being a little disorganised here. &lt;br /&gt;
|-&lt;br /&gt;
|6:55&lt;br /&gt;
|There's no major efficient way to do it. &lt;br /&gt;
|-&lt;br /&gt;
|6:57&lt;br /&gt;
|This will always echo out 'visitors'  &lt;br /&gt;
|-&lt;br /&gt;
|6:59&lt;br /&gt;
|So just for variation, we'll say 'visitors_new'.&lt;br /&gt;
|-&lt;br /&gt;
|7:07&lt;br /&gt;
|So, this will equal exactly - oh no!&lt;br /&gt;
|-&lt;br /&gt;
|7:11&lt;br /&gt;
|visitors new - another spelling mistake.  &lt;br /&gt;
|-&lt;br /&gt;
|7:16&lt;br /&gt;
|Right, so lets increment to 35 and we're going to contents and this value equals 35.&lt;br /&gt;
|-&lt;br /&gt;
|7:24&lt;br /&gt;
|Position isn't everything when you have to deal with a code as simple as this but it does help.&lt;br /&gt;
|-&lt;br /&gt;
|7:30&lt;br /&gt;
|Ok - so that's the basic tutorial.&lt;br /&gt;
|-&lt;br /&gt;
|7:32&lt;br /&gt;
|If you'd like to get any help on it, then please get in touch.&lt;br /&gt;
|-&lt;br /&gt;
|7:35&lt;br /&gt;
|But for now, try this out, give it a go.&lt;br /&gt;
|-&lt;br /&gt;
|7:37&lt;br /&gt;
|Also watch my other tutorial on the more advanced counter that takes IP addresses into account.&lt;br /&gt;
|-&lt;br /&gt;
|7:43&lt;br /&gt;
|Thanks for watching.  This is Osama Butt dubbing for the Spoken Tutorial Project.&lt;/div&gt;</summary>
		<author><name>Gyan</name></author>	</entry>

	</feed>