query($query); echo "
Number of results for'".htmlspecialchars($_GET['q'])."':".$result->num_rows."
"; ?> num_rows > 0) { echo "
"; echo "
"; echo "
Results have been found :)
"; } ?>