The productType column can be in the same product table.
Make sure it is included in the select statement of the recordset used to populate the page.
then you can add an if statement around the content to display:
<?php if($row_recordsetName['ProductTypeID'] == "1" || $row_recordsetName['ProductTypeID'] == "2") { ?>
Show Number of People
<?php } ?>
<?php if($row_recordsetName['ProductTypeID'] == "1") { ?>
Show Number of Nights
<?php } ?>