项目场景: MySQL某个字段按指定值排序,其他值按创建时间排序,我们需要用到FIELD() 函数,它是一种对查询结果排序的方法,可以根据指定的字段值顺序进行排序。
order by FIELD() 函数的语法如下:
ORDER BY …
源码:
<?php
/*** Author: hey* message: Patience is the key in life,I think youll be able to find vulnerabilities in code audits.* Have fun and Good luck!!!*/
error_reporting(0);
class Sakura{public $apple;public $strawberry;public function …