<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001038" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001038</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-get-variable-information-radio-buttons-form#comment-1004440</link>
    <description> &lt;p&gt;Oh I am sure I can get the code a lot trimmer, but I am not going to post it as the entire script is well over 450 lines not including the included files.&lt;/p&gt;
&lt;p&gt;Suffice it to say that the variables in question indicate which extra file (text) gets printed to an order file and sent to the customer.&lt;/p&gt;
&lt;p&gt;You can see it at work at &lt;a href=&quot;http://www.zerocattle.com/zerocattle_order.html&quot; class=&quot;bb-url&quot;&gt;www.zerocattle.com/zerocattle_order.html&lt;/a&gt;  (calculating the total is not a committment -- you place the order on the next page) but to see the full effect, you would have to order something.   &lt;img src=&quot;http://www.webmaster-forums.com/ubb/biggrin.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;  As it is, when you calculate an order, it prints the Payment method on the order summary on the next page.  I am adding a snip so that if you do not choose a payment method, you cannot proceed.&lt;/p&gt;
&lt;p&gt;Clear as mud, eh?&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Mar 2000 21:46:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1004440 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-get-variable-information-radio-buttons-form#comment-1004439</link>
    <description> &lt;p&gt;i think u could shorten that code up a little.  put the code here and some of us might be able to help.  i&#039;m pretty new to perl/cgi myself, watch out!  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/eek.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com/search-engines/resources/webmaster_tools/&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;CLICK&lt;/strong&gt;&lt;/a&gt; 4 some tested resources for making money $, hosting, and web promotions.&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Mar 2000 19:08:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1004439 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-get-variable-information-radio-buttons-form#comment-1004438</link>
    <description> &lt;p&gt;This was my solution (in case anyone else is terribly curious:&lt;/p&gt;
&lt;p&gt;# first, fix the variables&lt;/p&gt;
&lt;p&gt;if ($FORM{&#039;blah&#039;} eq &#039;something&#039;) {$something = &#039;something&#039;;}&lt;br /&gt;
if ($FORM{&#039;blah&#039;} eq &#039;thisthing&#039;) {$thisthing = &#039;thisthing&#039;;}&lt;br /&gt;
if ($FORM{&#039;blah&#039;} eq &#039;thatotherthing&#039;) {$thatotherthing = &#039;thatotherthing&#039;;}&lt;/p&gt;
&lt;p&gt;# then use the variable to print the information&lt;/p&gt;
&lt;p&gt;if ($something) {$thisone = $something};&lt;br /&gt;
if ($thisthing) {$thisone = $thisthing};&lt;br /&gt;
if ($thatotherthing) {$thisone = $thatotherthing};&lt;/p&gt;
&lt;p&gt;# this is used to print $thisone, no matter whether&lt;br /&gt;
# we are dealing with something, thisthing or thatotherthing... but that&#039;s another piece&lt;/p&gt;
&lt;p&gt;# then later, I use the same variable to add details to the&lt;br /&gt;
# atextfile.txt for the sending in an e-mail&lt;/p&gt;
&lt;p&gt;if ($something)&lt;br /&gt;
     {&lt;br /&gt;
     open (SOMETHING, &quot;something.txt&quot;);&lt;br /&gt;
     @something = &amp;lt;SOMETHING&amp;gt;;&lt;br /&gt;
     printf SOMEFILE @something;&lt;br /&gt;
     close SOMETHING;&lt;br /&gt;
     }&lt;/p&gt;
&lt;p&gt;And there we go!  Whoo hoo!!!&lt;/p&gt;
&lt;p&gt;It was the missing piece, yay!&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Mar 2000 09:01:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1004438 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-get-variable-information-radio-buttons-form#comment-1004437</link>
    <description> &lt;p&gt;Thanks, Fairhousing, about a minute after I posted I realized I had my thinking wrong.  What I need to do is test if $FORM{&#039;name&#039;} = &quot;specific value&quot;... whereas most of the other variables I just need to test if they exist, and if so, print the value.&lt;/p&gt;
&lt;p&gt;Is that clearer?   &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Can ya tell I&#039;ve been learning Perl for all of 2.5 weeks?  lol!&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/biggrin.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Mar 2000 08:36:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1004437 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-get-variable-information-radio-buttons-form#comment-1004436</link>
    <description> &lt;p&gt;u just make the name in the form match the $FORM{&#039;name&#039;} in the script.&lt;/p&gt;
&lt;p&gt;ah, i hope that helps, i&#039;m a little confused by the question.  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/confused.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Mar 2000 08:28:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1004436 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
