thank you
thanks for the answer
i tried it and im sure i'm doing something wrong
<table border="1" width="206" id="table1">
<tr>
<th align="left" valign="top">Hourly Rate:</th>
<td>
<?if ($thisclient && ($rate=$thisclient->getrate())) {
?> <?=$rate?>
<?}else {?>
<input type="text" name="rate0" size="5" value="<?=$info?>">
<?}?>
<font class="error">* <?=$errors?></font>
</td>
</tr>
<tr>
<th align="left" valign="top">Billable Hours:</th>
<td height="23">
<?if ($thisclient && ($hours=$thisclient->gethours())) {
?> <?=$hours?>
<?}else {?>
<input type="text" name="hours0" size="5" value="<?=$info?>">
<?}?>
<font class="error"> <?=$errors?></font>
</td>
</tr>
<tr>
<th align="left" valign="top">Fixed Rate:</th>
<td height="23">
<?if ($thisclient && ($fixed=$thisclient->getfixed())) {
?> <?=$fixed?>
<?}else {?>
<input type="text" name="fixed0" size="5" value="<?=$info?>">
<?}?>
<font class="error"> <?=$errors?></font>
</tr>
<tr>
<th align="left" valign="top">Workorder total:</th>
<td $total = $rate * $hours;
print "Total is ".$total;</td>
</tr>
<tr>
<td align="center" valign="top" colspan="2"> </td>
</tr>
</table>