<?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: Add two numbers</title>
	<atom:link href="http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-two-numbers-4</link>
	<description>Coding Friends, place for developers.</description>
	<lastBuildDate>Wed, 15 May 2013 13:57:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: genux</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-610</link>
		<dc:creator>genux</dc:creator>
		<pubDate>Wed, 01 Aug 2012 18:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-610</guid>
		<description><![CDATA[Hi Sidd

Something like

&lt;pre lang=&quot;html4strict&quot;&gt;
&lt;html&gt;
&lt;body&gt;
&lt;form name=&quot;name1&quot; id=&quot;name1&quot; method=&quot;POST&quot;&gt;
&lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;name1t&quot;/&gt;
&lt;input type=&quot;submit&quot; value=&quot;submit&quot;/&gt;
    &lt;form name=&quot;name2&quot; id=&quot;name2&quot; method=&quot;POST&quot;&gt;
    &lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;name2t&quot;/&gt;
    &lt;input type=&quot;submit&quot; value=&quot;submit&quot;/&gt;
    &lt;/form&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;/pre&gt;
Genux]]></description>
		<content:encoded><![CDATA[<p>Hi Sidd</p>
<p>Something like</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name1&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;POST&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name1t&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name2&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name2&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;POST&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name2t&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></td></tr></table></div>

<p>Genux</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sidd</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-609</link>
		<dc:creator>sidd</dc:creator>
		<pubDate>Wed, 01 Aug 2012 06:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-609</guid>
		<description><![CDATA[hii, i am new in php...i want to know if i can add two numbers from two different forms....as i have retrieved the value from db ... in form 1, i have value 2 and in 2nd form...i have value 6, now i want to add this two value...how can i do it??]]></description>
		<content:encoded><![CDATA[<p>hii, i am new in php&#8230;i want to know if i can add two numbers from two different forms&#8230;.as i have retrieved the value from db &#8230; in form 1, i have value 2 and in 2nd form&#8230;i have value 6, now i want to add this two value&#8230;how can i do it??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genux</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-461</link>
		<dc:creator>genux</dc:creator>
		<pubDate>Fri, 04 Nov 2011 09:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-461</guid>
		<description><![CDATA[have not tried out wamp before, but I am guessing this should work from the webpage with wamp

&lt;pre lang=&quot;php&quot;&gt;
if (isset($_POST[&#039;value1&#039;])
{
   $value = $_POST[&#039;value1&#039;];
...
}
&lt;/pre&gt;

should work fine.]]></description>
		<content:encoded><![CDATA[<p>have not tried out wamp before, but I am guessing this should work from the webpage with wamp</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'value1'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'value1'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">...</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>should work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subodh</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-460</link>
		<dc:creator>subodh</dc:creator>
		<pubDate>Fri, 04 Nov 2011 07:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-460</guid>
		<description><![CDATA[Notice: Undefined index: value1 in C:\wamp\www\demo\add.php on line 2

Notice: Undefined index: value2 in C:\wamp\www\demo\add.php on line 3]]></description>
		<content:encoded><![CDATA[<p>Notice: Undefined index: value1 in C:\wamp\www\demo\add.php on line 2</p>
<p>Notice: Undefined index: value2 in C:\wamp\www\demo\add.php on line 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genux</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-302</link>
		<dc:creator>genux</dc:creator>
		<pubDate>Mon, 24 Jan 2011 09:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-302</guid>
		<description><![CDATA[fscanf is more for files than HTML code.]]></description>
		<content:encoded><![CDATA[<p>fscanf is more for files than HTML code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jc fel</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-301</link>
		<dc:creator>Jc fel</dc:creator>
		<pubDate>Mon, 24 Jan 2011 04:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-301</guid>
		<description><![CDATA[Thanks for this... But, how about if the input is coming from an html textbox? Do i have to use fscanf function?]]></description>
		<content:encoded><![CDATA[<p>Thanks for this&#8230; But, how about if the input is coming from an html textbox? Do i have to use fscanf function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mizanur rahman</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/add-two-numbers-4/comment-page-1/#comment-59</link>
		<dc:creator>mizanur rahman</dc:creator>
		<pubDate>Mon, 31 May 2010 15:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=232#comment-59</guid>
		<description><![CDATA[thank you for giving the example]]></description>
		<content:encoded><![CDATA[<p>thank you for giving the example</p>
]]></content:encoded>
	</item>
</channel>
</rss>
