<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Problem to connect HTML form to PHP file' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Problem to connect HTML form to PHP file' posted on the 'PHP' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Thu, 20 Jun 2013 05:02:10 -0700</pubDate>
    <lastBuildDate>Thu, 20 Jun 2013 05:02:10 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Problem to connect HTML form to PHP file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/425723/425723/problem-to-connect-html-form-to-php-file/</link>
      <description>Hello every body.&lt;br /&gt;
&lt;br /&gt;
I was wondering if someone could help me. I am currently trying to Create several forms and submit them from HTML forms to PHP .&lt;br /&gt;
however just a basic example does not even work: lets say&lt;br /&gt;
&lt;br /&gt;
HTML file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form action="welcome.php" method="post"&amp;gt;&lt;br /&gt;
Name: &amp;lt;input type="text" name="fname" /&amp;gt;&lt;br /&gt;
Age: &amp;lt;input type="text" name="age" /&amp;gt;&lt;br /&gt;
&amp;lt;input type="submit" /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PHP file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hi &amp;lt;?php echo ($_POST['fname']); ?&amp;gt;.&lt;br /&gt;
You are &amp;lt;?php echo (int)$_POST['age']; ?&amp;gt; years old.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The output is:  Hi . You are years old. &lt;br /&gt;
&lt;br /&gt;
I am using WAMP server, both files are saved in www directory welcome file has a php extension. But for some reason the values just don not appear. So maybe i missed something i donno.&lt;br /&gt;
&lt;br /&gt;
If you can figure it out i will be thankful.&lt;br /&gt;
Cheers.  &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/425723/425723/problem-to-connect-html-form-to-php-file/</guid>
      <pubDate>Fri, 11 Nov 2011 12:59:48 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Problem to connect HTML form to PHP file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/425723/426163/re-problem-to-connect-html-form-to-php-file/#426163</link>
      <description>how to do one nice hearder can some one help me &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.private-escort-girls.com"&gt;Escort Berlin&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.private-escort-girls.de"&gt;Escorts Munich&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.sexyescortberlin.com"&gt;Escorts Berlin&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/425723/426163/re-problem-to-connect-html-form-to-php-file/#426163</guid>
      <pubDate>Fri, 09 Dec 2011 11:39:29 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Problem to connect HTML form to PHP file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/425723/426581/re-problem-to-connect-html-form-to-php-file/#426581</link>
      <description>Yeah most common problem for the begginers&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/425723/426581/re-problem-to-connect-html-form-to-php-file/#426581</guid>
      <pubDate>Fri, 23 Dec 2011 13:42:29 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Problem to connect HTML form to PHP file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/425723/426582/re-problem-to-connect-html-form-to-php-file/#426582</link>
      <description>Easy. put the PHP URL correctly in the HTML action column.&lt;br /&gt;
Jonathanganesh&lt;br /&gt;
SEO &amp;amp; WEb Expert&lt;br /&gt;
Cogzidel Technologies pvt ltd,&lt;br /&gt;
&lt;a href="http://www.cogzidel.com/services/web-development"&gt;http://www.cogzidel.com/services/web-development&lt;/a&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/425723/426582/re-problem-to-connect-html-form-to-php-file/#426582</guid>
      <pubDate>Fri, 23 Dec 2011 14:16:48 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Problem to connect HTML form to PHP file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/425723/427563/re-problem-to-connect-html-form-to-php-file/#427563</link>
      <description>The Correct Format of Displaying the out put is as follows..&lt;br /&gt;
&lt;br /&gt;
You used single quotes.  you should use double quotes..&lt;br /&gt;
&lt;br /&gt;
do it as follows..&lt;br /&gt;
&lt;br /&gt;
Hi &amp;lt;?php echo $_POST["fname"]; ?&amp;gt;&lt;br /&gt;
You are &amp;lt;?php echo $_POST["age"]; ?&amp;gt; years old.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/425723/427563/re-problem-to-connect-html-form-to-php-file/#427563</guid>
      <pubDate>Wed, 22 Feb 2012 06:06:07 -0700</pubDate>
      <category>PHP</category>
    </item>
  </channel>
</rss>