$MySQLver[0] doesn't seem to echo anything. Code used to work, on another server.
Problem with php version? PHP Version 4.1.2 Just updated to MySQL version MySQL 4.0.15-standard Can't find "MySQLver" in phpinfo. if($MySQLver[0] >= 4){ $sql = 'SELECT * FROM '.$table.' WHERE MATCH (KW,AUS,GEO) AGAINST (\''.stripslashes($searchenquiry).'\' IN BOOLEAN MODE) ORDER BY id asc;'; }else{ $sql = 'SELECT * FROM '.$table.' WHERE MATCH (KW,AUS,GEO) AGAINST (\''.stripslashes($searchenquiry).'\') ORDER BY id asc;'; } echo $sql."<br>".$MySQLver[0]; Ideas? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php