Location: PHPKode > projects > NetLink > netlink_os/mysql.txt
include("db.php");

$dbh=mysql_connect ($host,$user,$pass) or die ('MySQL Error: ' . mysql_error());
mysql_select_db ($table); 

$sql="##MYSQL STATEMENT##";
$rs=mysql_query($sql,$dbh);

$row=mysql_fetch_array($rs);
$###=$row['###'];


if ####
{
   ####
}

mysql_close($dbh);
Return current item: NetLink