私はphpでmySQLクエリを持っています:
$query = "SELECT serial FROM code WHERE type='".$type."' AND year='".$year."' AND subject='".$subject."' AND mounth='".$mounth."' AND day='".$day."' ORDER BY serial DESC LIMIT 1";
(デバッグ目的で)エコーすると、次のように表示されます。
SELECT serial FROM code WHERE type='in' AND year='391' AND subject='pcyear=393' AND mounth='04' AND day='1' ORDER BY serial DESC LIMIT 1
subject ='pcyear=393の近くの問題は何ですか??
助けてください