<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1005907" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1005907</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/database-searches-asp#comment-1031509</link>
    <description> &lt;p&gt;KLWong,&lt;/p&gt;
&lt;p&gt;You&#039;ll have to setup multiple SQL statements and then use If statements to determine your search.&lt;/p&gt;
&lt;p&gt;I don&#039;t have time to write the code snippet but I&#039;ll try to explain. There are probably many ways to do this, but this is the first one that comes to my mind.&lt;/p&gt;
&lt;p&gt;I would HTMLEncode the search phrase, then using the InStr and Mid functions I would search for spaces and separate all the search words into their own strings.&lt;/p&gt;
&lt;p&gt;Then depending on what option button they selected (and/or) you can do the select statement.&lt;/p&gt;
&lt;p&gt;If you&#039;re familiar with the InStr and Mid functions then this should be no problem for you. The challenge will be doing it in a efficient manner, using loops to get the search words, and not manually coding for each separate word.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Apr 2000 13:20:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1031509 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
