Ah right, thank you cpradio...

PHP Code:
<? 
$sql
.="select * FROM tbl_hotels ".  ((!empty($sqlcategory)) ? $sqlcategory "") ." WHERE Act_Hot='1' "
?>
Thats a lot different to mine isnt it, but thanks for the help again, always very appreciated.