I have a file called messages.php which runs SQL queries to a database and displays results in a $res variable
$res
My menu.php page I used
i
First Remove include 'messages.php'; Then remove echo $res; from div and put it in the last line of messages.php
and try the following code after including the jquery file