<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031665" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031665</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186299</link>
    <description> &lt;p&gt;Ah.. ok, thanks guys &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>Wed, 23 Nov 2005 07:49:22 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1186299 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186290</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;chrishirst wrote:&lt;/strong&gt; Yes it&#039;s possible, but only with MySQL 5.0 and then only if the tables are ISAM and have been set up with FULLTEXT indexes.&lt;/p&gt;
&lt;p&gt;Other than that you will have to set up your SQL command to search specific columns, otherwise you will have errors when a text search is done against a non-text field&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;chrishirst solution is the best I guess... the Full text is working in mysql 4.0 just set the fields you want to be include in the query as FULL TEXT.&lt;/p&gt;
&lt;p&gt;Then here is a query sample:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
$sql = &quot;SELECT * FROM  WHERE MATCH (,,,) AGAINST (&#039;%$query%&#039;)&quot;;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;$query is variable&lt;/p&gt;
 </description>
     <pubDate>Wed, 23 Nov 2005 06:03:34 +0000</pubDate>
 <dc:creator>edpudol</dc:creator>
 <guid isPermaLink="false">comment 1186290 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186093</link>
    <description> &lt;p&gt;Usually your searching for wrong context, like a value as a character&lt;/p&gt;
 </description>
     <pubDate>Mon, 21 Nov 2005 09:27:06 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1186093 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186090</link>
    <description> &lt;p&gt;What does this error mean?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Unable to jump to row 0 on MySQL result index 8&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Mon, 21 Nov 2005 07:18:02 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1186090 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186054</link>
    <description> &lt;p&gt;Great, thanks &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>Sun, 20 Nov 2005 09:45:57 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1186054 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186049</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Renegade wrote:&lt;/strong&gt; What happens if the query is empty... how do I do a check (in PHP) because if(!$result) doesn&#039;t work...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; If there is no error, then the !result check is useless for testing the returned value:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;PHP Manual wrote:&lt;/strong&gt; For SELECT, SHOW, DESCRIBE or EXPLAIN statements,      &lt;strong&gt;mysql_query()&lt;/strong&gt;       returns a &lt;a href=&quot;http://php.inspire.net.nz/manual/en/language.types.resource.php&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;resource&lt;/strong&gt;&lt;/a&gt; on success, or &lt;strong&gt;FALSE&lt;/strong&gt; on      error.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;  You will have to analyse the data in the resource to check the number of rows:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;PHP Manual wrote:&lt;/strong&gt;&lt;br /&gt;
        The returned result resource should be passed to      &lt;a href=&quot;http://php.inspire.net.nz/manual/en/function.mysql-fetch-array.php&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;mysql_fetch_array()&lt;/strong&gt;&lt;/a&gt;, and other      functions for dealing with result tables, to access the returned data.&lt;/p&gt;
&lt;p&gt;         Use &lt;a href=&quot;http://php.inspire.net.nz/manual/en/function.mysql-num-rows.php&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;mysql_num_rows()&lt;/strong&gt;&lt;/a&gt; to find out how many rows      were returned for a SELECT statement&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;  &lt;a href=&quot;http://php.inspire.net.nz/manual/en/function.mysql-query.php&quot; class=&quot;bb-url&quot;&gt;http://php.inspire.net.nz/manual/en/function.mysql-query.php&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 20 Nov 2005 07:38:07 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1186049 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1186047</link>
    <description> &lt;p&gt;What happens if the query is empty... how do I do a check (in PHP) because if(!$result) doesn&#039;t work...&lt;/p&gt;
 </description>
     <pubDate>Sun, 20 Nov 2005 06:12:35 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1186047 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1185901</link>
    <description> &lt;p&gt;Great, thanks Greg &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>Fri, 18 Nov 2005 08:45:45 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1185901 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1185890</link>
    <description> &lt;p&gt;Probably the code I gave you (or similar) would work the best.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Nov 2005 05:34:41 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1185890 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/searching-entire-database#comment-1185872</link>
    <description> &lt;p&gt;Thanks Greg, here is what PHPMyAdmin spat out when I created the table:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;CREATE TABLE `club` (&lt;br /&gt;`userID` INT NOT NULL AUTO_INCREMENT ,&lt;br /&gt;`sport` VARCHAR( 255 ) NOT NULL ,&lt;br /&gt;`location` VARCHAR( 255 ) NOT NULL ,&lt;br /&gt;`name` VARCHAR( 255 ) NOT NULL ,&lt;br /&gt;`number` VARCHAR( 255 ) NOT NULL ,&lt;br /&gt;`email` VARCHAR( 255 ) ,&lt;br /&gt;`website` VARCHAR( 255 ) ,&lt;br /&gt;`details` TEXT,&lt;br /&gt;PRIMARY KEY ( `userID` )&lt;br /&gt;) TYPE = MYISAM ;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Nov 2005 00:23:23 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1185872 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
