function get_val()
{
if(strcmp($_POST["page"],"main")==0)
{
echo 'post';
$cultname=$_POST["cultname"];
$acc=$_POST["acc"];
$abbr=$_POST["abbr"];
}
else
{
echo 'get';
echo $cultname=$_GET["cultname"];
$acc=$_GET["acc"];
$abbr=$_GET["abbr"];
}
}
?>
function db_connect()
{
global $conn;
$conn=mysql_connect("localhost","root","") or die (¨hai¨);
/*if($conn == FALSE)
{
print ¨unable to connect db¨;
exit;
}*/
//mysql_select_db("CGMS",$conn) or die (¨db selection error¨);
mysql_select_db("cgms",$conn) or die (¨hai¨);
}
?>
function nav_bar()
{
?>
}
?>
function top_bar()
{
?>
}
?>
function section_Links()
{
global $cultname;
global $acc;
global $abbr;
?>
}
?>