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>

    This is PHP Builder, not ASP Builder =)
    dito.

      Balen,

      I can do this, or get you started or point you to a couple of post tutorials. Let me know. I'm so grateful to the PHP folks here, I'm glad to help out with ASP, which I know a bit better.

      Strat

        Hi Strat
        I would be grateful if you help me on coding..

          Will do, but let's take this off the forum to private mail, since this IS a PHP Board!

            Write a Reply...