出力の工夫 入力件数が増えてきたので、いろいろな条件で表示できるようにした 最近1週間のデータを表示(現在のデフォルト) $sql = "select * from bartbl where unixtime >= $oneweekago order by unixtime desc"; 最近50件の入力を表示 $sql = "select * from bartbl order by unixtime desc limit 50"; 場所/コメント欄に対するキーワード検索に合致したデータのみ表示 $sql = "select * from bartbl where comment ~* '$keyword' order by unixtime desc"; 期間による検索に合致したデータのみ表示 $sql = "select * from bartbl where unixtime >= $fromtime and unixtime <= $totime order by unixtime desc";