i replied to the pm you sent me, but i did this for you
<?
$conn = mysql_connect("localhost", "username", "password")
$db = mysql_select_db("databasename")
?>
after that you can create your queries, then run them with mysql_query(), then grab the results array(you would probably call this RecordSet since you know ASP) with mysql_fetch_array() or other fetch functions, here is example
<?
$query = "select * from tablename;";
$result = mysql_query($query) or die(mysql_error());
while ($row = mysql_fetch_array($result))
{
echo $row['fieldnametoecho'] . "<br>";
}
?>
that last part is similar to the objRS.movenext stuff with ASP