<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001099" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001099</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ifelse-statements-and-stuff#comment-1004805</link>
    <description> &lt;p&gt;I know that feeling  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/wink.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 00:43:00 +0000</pubDate>
 <dc:creator>roBofh</dc:creator>
 <guid isPermaLink="false">comment 1004805 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ifelse-statements-and-stuff#comment-1004804</link>
    <description> &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; my bad&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 00:33:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004804 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ifelse-statements-and-stuff#comment-1004803</link>
    <description> &lt;p&gt;No...more like&lt;/p&gt;
&lt;p&gt;if ($email=~/[^A-Za-z0-9-_\.\@]/) {&lt;br /&gt;
print &quot;Ya screwed up buddy. It appears that you have some invalided characters in your address. Please &amp;lt;a href=javascript:history.back&amp;gt;repair&amp;lt;/a&amp;gt; it.&quot;;&lt;br /&gt;
} elsif ($email=~/^([\w-]+[\w-.])*[\w-]+$/) {&lt;br /&gt;
print &quot;Proper format is essential when entering an email address. Remember yourname\@yourdomain.com or whatever. Please &amp;lt;a href=javascript:history.back&amp;gt;repair&amp;lt;/a&amp;gt; it.&quot;;&lt;br /&gt;
} else {&lt;br /&gt;
print &quot;Your address has been accepted!!&quot;;&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 00:11:00 +0000</pubDate>
 <dc:creator>roBofh</dc:creator>
 <guid isPermaLink="false">comment 1004803 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ifelse-statements-and-stuff#comment-1004802</link>
    <description> &lt;p&gt;if ($email=~/[^A-Za-z0-9-_\.\@]/) {&lt;br /&gt;
print &quot;Ya screwed up buddy. It appears that you have some invalided characters in your address. Please &amp;lt;a href=javascript:history.back&amp;gt;repair&amp;lt;\/a&amp;gt; it.&quot;;&lt;br /&gt;
} else {&lt;br /&gt;
print &quot;Your address has been accepted!&quot;;&lt;br /&gt;
} elsif ($email=~/^([\w-]+[\w-.])*[\w-]+$/) {&lt;br /&gt;
print &quot;Proper format is essential when entering an email address. Remember yourname\@yourdomain.com or whatever. Please &amp;lt;a href=javascript:history.back&amp;gt;repair&amp;lt;\/a&amp;gt; it.&quot;;&lt;br /&gt;
} else {&lt;br /&gt;
print &quot;Your address has been accepted!!&quot;;&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 May 2000 13:21:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004802 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ifelse-statements-and-stuff#comment-1004801</link>
    <description> &lt;p&gt;Use elsif and combine the two if clauses.&lt;/p&gt;
&lt;p&gt;If(blah){&lt;br /&gt;
   do blah&lt;br /&gt;
} elsif (other-thing){&lt;br /&gt;
   do other magic&lt;br /&gt;
} else {&lt;br /&gt;
   final else&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 May 2000 10:22:00 +0000</pubDate>
 <dc:creator>roBofh</dc:creator>
 <guid isPermaLink="false">comment 1004801 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
