<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1029500" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1029500</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/textbox-php-variable#comment-1172518</link>
    <description> &lt;p&gt;Thank guys,&lt;/p&gt;
&lt;p&gt;It worked great. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Jun 2005 09:24:30 +0000</pubDate>
 <dc:creator>//nmh</dc:creator>
 <guid isPermaLink="false">comment 1172518 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/textbox-php-variable#comment-1172517</link>
    <description> &lt;p&gt;Another note, just so you don&#039;t scratch your head any more, in this chunk:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;form method=&amp;quot;POST&amp;quot; action=&amp;quot;link.php&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;Text&amp;quot; id=&amp;quot;$urlname&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;Text&amp;quot; id=&amp;quot;$url&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Submit&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
You have id=&quot;$url&quot;, and if you try to access this later in php (after it&#039;s name instead of id, because id doesn&#039;t work in inputs/form pieces), you&#039;d try $_POST[$url] except that php would use the php variable of $url, and it would end up as $_POST[&#039;&#039;] and you don&#039;t want that. If you did $_POST[&#039;$url&#039;] that would work, since single quotes ignores variables, it&#039;s just really not something you want to get started as a habit.&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Jun 2005 09:16:32 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1172517 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/textbox-php-variable#comment-1172490</link>
    <description> &lt;p&gt;Use the NAME tag which is required for this.&lt;/p&gt;
&lt;p&gt;Then in PHP, you can access $_POST[&#039;urlname&#039;]&lt;br /&gt;
(older versions of PHP would let you just directly access $urlname but for security that efault configuration has been changed)&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Mon, 06 Jun 2005 16:01:17 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1172490 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
