I'm trying to only select the rows within 500 MS but I'm not sure if this is even possible with just MySQL?
My current code is:
$stmt = $mysqli->prepare('SELECT chat_user, chat_msg FROM chat_msg
WHERE chat_id = ?
AND chat_time > (NOW() - INTERVAL 1 SECOND)
AND chat_user != ?');
I was unable to insert that in a code block.