Hello,

I seem to have a probem with the follow line in my PHP script that gets infomation from 2 menu box's... I cannot get it to work

if (!empty($categorypost)) && (!empty($areapost)){ $both = " WHERE category = '{$categorypost}' AND area = '{$areapost}'";
}

Its part of an SQL statment that searches a database...

Many Thanks