Could some body be so kind to convert the following code so that it works with mysql
<?php
$sql="SELECT * FROM Admin";
$rs=odbc_exec($conn,$sql);
if(!$rs)
{
exit("Could not retrieve script settings.");
}
odbc_fetch_row($rs, 0);
?>
I have tried but keep getting errors