Amenotep
Programmer
- Aug 7, 2013
- 6
What is wrong with this code below ?
<html>
<head></head>
<body>
<p align="center">Balance Table</p>
<table align="center" width="75%" border="1" bordercolor="#0000FF">
<tr>
<td><form align="center"><input type="text" name="$value1" size="40"></form></td>
<td><form align="center"><input type="text" name="$value2" size="40"></form></td>
<td><p align="center"><?php $balance=$value1+$value2; ?><?php print $balance; ?></p></td>
</tr>
</table>
</body>
</html>
<html>
<head></head>
<body>
<p align="center">Balance Table</p>
<table align="center" width="75%" border="1" bordercolor="#0000FF">
<tr>
<td><form align="center"><input type="text" name="$value1" size="40"></form></td>
<td><form align="center"><input type="text" name="$value2" size="40"></form></td>
<td><p align="center"><?php $balance=$value1+$value2; ?><?php print $balance; ?></p></td>
</tr>
</table>
</body>
</html>