<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013030" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013030</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-part-column-value#comment-1075689</link>
    <description> &lt;p&gt;It needs to be this:&lt;/p&gt;
&lt;p&gt;Select * FROM Table WHERE Name LIKE &#039;%$PHPSearchString%&#039;&lt;/p&gt;
&lt;p&gt;It&#039;s amazing what you can find when you look at documentation...&lt;/p&gt;
 </description>
     <pubDate>Fri, 15 Dec 2000 00:44:13 +0000</pubDate>
 <dc:creator>Gil</dc:creator>
 <guid isPermaLink="false">comment 1075689 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-part-column-value#comment-1075683</link>
    <description> &lt;p&gt;Thanks Peter. I was having some problems with that Select statement earlier but now I have it working. For what I&#039;m doing it&#039;s fine if it picks up Johnson, Bill and Bill, Johnson. I think I was trying to do LIKE=[*$foo*] earlier...&lt;/p&gt;
 </description>
     <pubDate>Thu, 14 Dec 2000 22:13:58 +0000</pubDate>
 <dc:creator>Gil</dc:creator>
 <guid isPermaLink="false">comment 1075683 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-part-column-value#comment-1075670</link>
    <description> &lt;p&gt;Gil,&lt;/p&gt;
&lt;p&gt;It would be easier (and a little more efficient) if you setup the names in two separate fields (Like First_Name &amp;amp; Last_Name), why waste resources searching through text you don&#039;t need?&lt;/p&gt;
&lt;p&gt;Your select statement looks pretty good, except for the fact it won&#039;t distinguish between first name &amp;amp; last name. So, in your example a search for the last name of Johnson could return the following recordset:&lt;/p&gt;
&lt;p&gt;Johnson, Bill&lt;br /&gt;
Johnson, Steve&lt;br /&gt;
Smith, Johnson&lt;/p&gt;
&lt;p&gt;Since your select statement is searching the whole field it could return a recordset like this. I would strongly recommend separating this fields, it will make life much easier. If you can&#039;t then you&#039;ll have to parse the search query and build some logic into it (ignore everything after &quot;,&quot;).&lt;/p&gt;
 </description>
     <pubDate>Thu, 14 Dec 2000 17:11:31 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1075670 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
