如何将SQL通配符添加到此:
sprintf("SELECT robot FROM robots WHERE robot LIKE '%s'",strtolower($user_agent));
Run Code Online (Sandbox Code Playgroud)
如
sprintf("SELECT robot FROM robots WHERE robot LIKE '%%s%'",strtolower($user_agent));
Run Code Online (Sandbox Code Playgroud)
在一个壮观的火焰球中爆炸,
PS抱歉这个相当基本的问题.这些天我正在减少我的咖啡.