workerman中,onmessage回调函数中为什么调用数据库语句总是不能识别,大神们,请指教

yxr

case 'keep':
global $sender_io;
$ip = @$_POST;
$message = @$_POST;
$conn = mysqli_connect('localhost','root','root');
mysqli_select_db($conn,'test');
mysqli_set_charset($conn,'utf8');

2355 1 0
1个回答

智佳思远

看到手册有workerman如何使用数据库的教程的

  • 暂无评论
年代过于久远,无法发表回答
🔝