你好,我想请您帮我将一段原生代码写成连贯方法
$game=DB::select("select game_game.id,name,img,tags,syn,frame,group_concat(game_type.gm_name) as pid from game_game left join game_type on find_in_set(game_type.id,game_game.pid) group by game_game.id")
拜托您了
$game=DB::select("select game_game.id,name,img,tags,syn,frame,group_concat(game_type.gm_name) as pid from game_game left join game_type on find_in_set(game_type.id,game_game.pid) group by game_game.id")
拜托您了
1 Comment
能解决问题就好了 非要追求形式上的东西干嘛 除非是可以解决特定问题 比如 SQL 注入