Im view total form
total = harga * unit;
View Sample Images :

<table border="1">
	<td bgcolor="#6699FF">jenis</td>
	<td bgcolor="#6699FF">harga</td>
    <td bgcolor="#6699FF">unit</td>
    <td bgcolor="#6699FF">total</td>
	$result = mysql_query("select * from tpintu");
	$jsArray = "var prdName = new Array();\n";
	echo '<select name="prdId" onchange="document.getElementById(\'hargaBarang\').value = prdName[this.value]">';
	while ($row = mysql_fetch_array($result)) {
    echo '<option value="' . $row['jenis_pintu'] . '">' . $row['jenis_pintu'] . '</option>';
    $jsArray .= "prdName['" . $row['jenis_pintu'] . "'] = '" . addslashes($row['harga_pintu']) . "';\n";
	echo '</select>';
 	 <input name="hargaBarang" type="text" id="hargaBarang" size="22"/>
  	<script type="text/javascript">
	<?php echo $jsArray; ?>
<td><input type="text" name="textfield" id="textfield"></td>
<td><input type="text" name="textfield2" id="textfield2"></td>
<td colspan="3" align="right">Total : </td>
<td><input type="text" name="textfield3" id="textfield3"></td>


your link doesn't work, and what is your question.
what do you want to total on this page?
there are no "total = harga * unit;" 'harga' or 'unit' variables on this page at all.
there are no form tags and no submit button on your form.
what is your question, what are you trying to do?