$sql = 'select count(*) from T_test where name = :name'; $stmt = $pdo -> prepare($sql); $stmt -> execute(array('name' => 'もえの')); $count = $stmt -> fetchColumn(); //fetchColumn(0)の0を省略 echo $count;

リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く