2015-04-01から1ヶ月間の記事一覧
SELECT rank() OVER ( order by fly desc), * FROM (select id,now(),max(カラム) as fly from テーブル名 where add_date between 'その日 00:00:00' and 'その日 23:59:59'and カラム >0 group by id order by max(カラム) desc) AS t
INSERT INTO 移行先テーブル名 (項目名1,項目名2) SELECT 項目名1,項目名2 FROM データの入ってるテーブル名;
-hoge = {$_POST['hoge']}; $hoge= str_replace("-", "$", $hoge); -としておいて、$に変換する
file_put_contents("hoge.inc", serialize($hoge)); serialize が原因でした。 対処方法 file_put_contents("hoge.inc", $hoge);