// index.php
require( '../config.php' );
// db connect
$link = mysql_connect( $db_host, $db_user, $db_password );
mysql_select_db( $db_name );
$result = mysql_query( 'set character set utf8' );
//
$title = '携帯NEWS一覧';
?>
require( 'header.php' ) ?>
■NEWS一覧■
$sql = "select * from new
order by new_id desc limit 0, 10";
$result = mysql_query( $sql );
while ( $new = mysql_fetch_array( $result ) ) {
?>
▽
$d=strtotime($new['new_date']);
$hoge = date("Y",$d)."年".date("m",$d)."月".date("d",$d)."日";
print ($hoge);
?>▽
} ?>
■MENU■
TOP
NEWS一覧
LIVE INFO
BIOGRAPHY
BLOG
BBS
GALLERY
MAIL