Done like you recommended with the select....like '%".$var."%' but it still gives me empty rows of data. Everytime I try and search for something it returns with 7 rows of data, all of which are blank. I'm using the basic mysql_num_rows to get the number of rows of data it retrieves, and I'm using a WHILE($data = mysql_fetch_array($sql_result)) to output the rows of data. If it's not the SQL statement, what could be doing this? I ask in case you've heard this problem mentioned by some thick newbie like meself before. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]