OK, the code, short as it is, goes:
<?php
// Database connection, using db_fns.php
// db_fns.php must be included in the page which include this script
$conn = db_connect();
if (!$conn)
echo "Could not connect to database server - please try later.";
// set number of results to display per page
$pagelimit = "1";
// run query
$Search == 0; //only needed if this is the result of a search
//$Corrected = strtoupper($Search); //only needed if this is the result of a search
$strSQL = mysql_query("select * from Books WHERE cata = '$cata'");
// count number of matches
$totalrows = mysql_num_rows($strSQL);
The LAST line, is the one that is being reported as failing... Thanks
Note that this has ONLY just stopped working.... it worked for 2 years, until they upgraded their servers!!