Brilliant thanks - I added
if ( mysql_num_rows ( $unitdisplay ) > 0 )
{
Around
mysql_data_seek($unitdisplay, 0);
$row_unitdisplay = mysql_fetch_assoc($unitdisplay);
Because like you said on the amenitiesunit table there aren't always any records, and it was throwing up an error.
mysql_data_seek() [function.mysql-data-seek]: Offset 0 is invalid for MySQL
Once again - thank you.