<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019514" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019514</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/passing-variable-url#comment-1117164</link>
    <description> &lt;p&gt;Very nice.  Congrats!&lt;/p&gt;
 </description>
     <pubDate>Wed, 30 Oct 2002 07:38:27 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1117164 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/passing-variable-url#comment-1117154</link>
    <description> &lt;p&gt;Both ways worked, but I happen to go with Mark&#039;s method.  Works like a charm which is great because this was the last piece to my functionality puzzle and now I can work on design.  Thanks again.&lt;/p&gt;
&lt;p&gt;By the way, I&#039;m proud to say that from your example which showed me the formatting, I was able to figure out how to do something else on my own.  Yea, I&#039;m a programmer now!  Okay not quite - but I&#039;m still proud that I found a solution to this problem:  I &lt;del&gt;also&lt;/del&gt; want to have individual states as a possible variable, but how do I do this without having to setup a different line for each state?  Here&#039;s what I put at the end after the &#039;named regions&#039;:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;self&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;\&quot;;&lt;br /&gt;&lt;br /&gt;if (!in_array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, array_keys(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;self\&quot;; &lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt; :D &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 30 Oct 2002 05:30:35 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1117154 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/passing-variable-url#comment-1117105</link>
    <description> &lt;p&gt;Thanks.  Both look like they do exactly what I was looking for.  I&#039;ll give &#039;em both a try.&lt;/p&gt;
&lt;p&gt;&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, 29 Oct 2002 12:54:29 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1117105 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/passing-variable-url#comment-1117073</link>
    <description> &lt;p&gt;I would use an array...&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;pacific&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039;WA&#039;,&#039;OR&#039;,&#039;CA&#039;,&#039;NV&#039;\&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;newengland&#039;] = \&quot;&#039;CT&#039;,&#039;RI&#039;,&#039;MA&#039;,&#039;VT&#039;,&#039;NH&#039;,&#039;ME&#039;\&quot;;&lt;br /&gt;&lt;br /&gt;if (!in_array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, array_keys(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;pacific\&quot;; // Default Region/Location&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;SELECT * FROM alumni WHERE state IN (\&quot;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;.\&quot;)\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 29 Oct 2002 00:10:47 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1117073 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/passing-variable-url#comment-1117062</link>
    <description> &lt;p&gt;If I understand you correctly you don&#039;t want the state, just the region. If that&#039;s it then here is how &lt;strong&gt;I&lt;/strong&gt; would do it:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Define Locations...&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pacific &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039;WA&#039;,&#039;OR&#039;,&#039;CA&#039;,&#039;NV&#039;\&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$newengland&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;&#039;CT&#039;,&#039;RI&#039;,&#039;MA&#039;,&#039;VT&#039;,&#039;NH&#039;,&#039;ME&#039;\&quot;;&lt;br /&gt;//....... Add More if Desired&lt;br /&gt;&lt;br /&gt;if (!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pacific&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;; // Default Region/Location&lt;br /&gt;} else if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; == &#039;pacific&#039;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pacific&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;} else if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$region&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; == &#039;centeral&#039;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$location&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$newengland&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;}&lt;br /&gt;// ....... Continue Code&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 28 Oct 2002 22:50:34 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1117062 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
