This is the error that I am getting while using mysql_num_rows() function\[code\]Error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource\[/code\]Here is my source code:\[code\]$title = "SELECT * FROM item WHERE item.title LIKE % " .implode("% OR item.title LIKE % ", $data);$title_result = mysql_query($title, $this->dbh);echo mysql_num_rows($title_result);\[/code\]What I am doing is creating a search for a website. Currently I am doing 4 Select statements and then I would like to total everything found in my database from all 4 of those sql statements. If I am thinking correctly the mysql_num_rows() returns the number of rows that was found from a Select statement. So in theory I was thinking that I could add them together to get my total found in a search, am I correct in this thinking if not how could I add 4 different sql select statements together?Also my test search is in the database.Thanks in advance for the help.