MysqlSQL语句:SELECT * FROM `user` WHERE `year` <= 2018PHPprepare('SELECT * FROM `user` WHERE `Year` ? ?');bind_param('ss',$aaa,$bbb);$aaa = '<=';$bbb = '2018';想知道如果绑定比较符?会用到<,>,<=,>=,=五个比较符用来筛选数据或者其他解决办法 单独写sql语句不可行 需要判断的不止year
森栏
相关分类