// เขียนข้อมูลลง database
include("config.inc.php");
//include("http://radio.stonemetalfire.com/status/config.inc.php");
mysql_connect($host,$user,$passwd);
$sql_01 = "select * from liveradio ";
$result_01 = mysql_db_query($dbname,$sql_01);
$numrows = mysql_num_rows($result_01);
$result = mysql_fetch_array($result_01);
$status = $result["status"];
$song = $result["song"];
$sql_02 = "select * from djschedule where djStatus='1' ";
$result_02 = mysql_db_query($dbname,$sql_02);
$numrows = mysql_num_rows($result_02);
$rows02= mysql_fetch_array($result_02);
$djId = $rows02["djId"];
$djName = $rows02["djName"];
$djTime= $rows02["djTime"];
$djStatus= $rows02["djStatus"];
// This year
$this_year=date("Y");
//echo $djId;
?>
SMF Rock Station :: 24/7 Pure Rock Radio [Mobile Version] -
|
Copyright
© StoneMetalFire.com . All Rights Reserved. [
Web Version ] |
|
|
|