Convert PHP code to ASP code?

  • Thread starter Thread starter shiva0101 m
  • Start date Start date
S

shiva0101 m

Guest
Hi,

Can someone tell me how to convert the below code from PHP to ASP?

<?php
function Names()
{

$table = "<table>";

while($ret = mysql_fetch_assoc($res))
{
$table .= "<tr><td> $name </td></tr>";
}

$table .= "<table>";


return $table

}
?>

Thanks
 
Back
Top