HI ANBODY HELP ME CONVERTING THIS PHP TO ASP LANGUAGE.
<?
include "./global1.inc";
?>
<?
if ($submit){
for ($i=0; $i<count($firstname);$i++){
echo $firstname[$i];
}
echo "<br>";
for ($i=0; $i<count($lastname);$i++){
echo $lastname[$i];
}
}
?>
<html>
<head>
</head>
<body>
<form method="post" action="insert.php3">
<?
$result = mysql_query("select id, name from names");
while ($row = mysql_fetch_array($result)) {
?>
<td> <?echo $row[1]?></td>
<td>
<input type=text name="firstname[]" maxlength="6" size="8">
</td>
<td>
<input type=text name="lastname[]" maxlength="6" size="8">
</td>
</tr>
<?}
?>
<hr>
<input type="submit" value="Add to Database" name="submit">
<input type="reset" value="Reset" name="reset">
<br>
</form></body>
</html>