header("Content-Type: text/html; charset=utf-8");
include ('db_func.php');
mysql_select_db($dbName,$link);
function re_array($tbs,$ids,$sch_row)
{
$sql="select * from `".$tbs."` where `".$sch_row."` = '".$ids."'";
$rs = mysql_query($sql);
$num=mysql_num_rows($rs);
if($num == 0)
{
return "0";
}
else
{
$row=mysql_fetch_array($rs,MYSQL_ASSOC);
mysql_free_result($rs);
return $row;
}
}
function re_array2($tbs)
{
$sql="select * from `".$tbs."`";
$rs = mysql_query($sql);
$num=mysql_num_rows($rs);
if($num == 0)
{
return "0";
}
else
{
$row=mysql_fetch_array($rs,MYSQL_ASSOC);
mysql_free_result($rs);
return $num;
}
}
$store_data = array();
$store_data = re_array("web_settings","name","title");
$store_data6 = array();
$store_data6 = re_array("web_settings","keywords","title");
$store_data7 = array();
$store_data7 = re_array("web_settings","description","title");
?>
=$store_data['value']?>