Hello, and welcome to PHPBuilder!
Before I start ... there's a bit of antique-looking stuff here. What's your PHP Version? Have you heard of mysqli (note the "i"), which is the preferred interface to MySQL from PHP and has been since, oh, about 2005? 🙂
Next ... what's WRONG with your code, from YOUR point of view? Does it do anything at all? What doesn't work? There's not much description of your actual problem here.
At any rate, I've gone through and made some comments in your code ... perhaps this will get you thinking and you'll discover whatever your issue is.
Best of luck! 🙂
<?php
mysql_select_db($database_hk, $hk); // I assume you have a mysql_connect() call before this somewhere?
// Do you check to see if this select call was successful? ;)
$query_Recordset1 = "SELECT * FROM room_problems ORDER BY Housekeeper_name";
$Recordset1 = mysql_query($query_Recordset1, $hk) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1); // you're calling this again below ... why did you do it here?
$totalRows_Recordset1 = mysql_num_rows($Recordset1); // why did you do this? Are you, maybe, trying to make sure you actually got rows?
// Good idea. How come there's no test then to see what this value is before you start the loop below?
do { ?>
<table width="80%" border="0">
<tbody>
<tr>
<th width="21%" align="left" valign="middle" scope="col"><?php echo $row_Recordset1['Housekeeper_name']; ?> <?php echo $row_Recordset1['Date']; ?></th>
<th width="79%" align="left" valign="middle" scope="col"> </th>
</tr>
</tbody>
</table>
<table width="80%" border="0">
<tbody>
<tr>
<th width="17%" align="left" valign="middle" scope="col"><?php echo $row_Recordset1['Room']; ?><?php echo $row_Recordset1['Room_Type']; ?></th>
<th width="83%" align="left" valign="middle" scope="col"> </th>
</tr>
<tr>
<td colspan="2" align="left" valign="middle"><?php echo $row_Recordset1['Room_problems']; ?></td>
</tr>
</tbody>
</table>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>