書道教室 日本語サイト

Japanese Calligraphy Art class in the R-room Roppongi | English

Japanese Calligraphy school for International Students
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $db->exec('SET NAMES utf8'); } catch(PDOException $e) { die('Connection failed: '.$e->getMessage()); } $sth = $db->prepare("SELECT COUNT(*) from classnews where jyoutai = '公開'"); $sth->execute(); // news記事数を変数に代入 while ($row = $sth->fetch(PDO::FETCH_ASSOC)) { $newscount = $row['COUNT(*)']; echo ''; ?> '; echo ''; } ?>
'; echo "There are currently {$newscount} news.";} echo '
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $db->exec('SET NAMES utf8'); } catch(PDOException $e) { die('Connection failed: '.$e->getMessage()); } // 画像テーブルのデータを取得します $sth = $db->prepare("SELECT * FROM classnews where jyoutai = '公開'"); $sth->execute(); ?> fetch(PDO::FETCH_ASSOC)) { if ($row['when_m'] == "01" ) { $montheng = "January" ;} if ($row['when_m'] == "02" ) { $montheng = "February" ;} if ($row['when_m'] == "03" ) { $montheng = "March" ;} if ($row['when_m'] == "04" ) { $montheng = "April" ;} if ($row['when_m'] == "05" ) { $montheng = "May" ;} if ($row['when_m'] == "06" ) { $montheng = "June" ;} if ($row['when_m'] == "07" ) { $montheng = "July" ;} if ($row['when_m'] == "08" ) { $montheng = "August" ;} if ($row['when_m'] == "09" ) { $montheng = "September" ;} if ($row['when_m'] == "10" ) { $montheng = "October" ;} if ($row['when_m'] == "11" ) { $montheng = "November" ;} if ($row['when_m'] == "12" ) { $montheng = "December" ;} $monthyear = $row['when_y']; $monthday = $row['when_d']; echo '
'; echo "$montheng $monthday, $monthyear "; echo ''.$row['title_eng'].''; $sakuhinimage = $row['sakuhinimage']; if(0 < $sakuhinimage OR $sakuhinimage != NULL){echo ''; } echo ""; echo '

Copyright (C) 2012 Calligraphy Art class in the R-room Roppongi All Rights Reserved.