<DIV names='showall'></DIV>
? <html>
<head>
<meta charset="utf-8">
<link href="ui_rmenu_sty.css" rel="stylesheet">
<script src='jquery-3.1.1.js'></script>
<script src="ui_rmenu_scr.js"></script>
</head>
<body>
<a onclick='testajax();'>Link 1</a>
<DIV id='showall'></DIV>
</body>
</html>
testajax()
{
}
<?php
require_once 'dy_functions.php';
$result = queryMysql("SELECT * FROM task");
$num = $result->num_rows;
for ( $i = 0 ; $i < $num ; ++$i )
{
$row = $result->fetch_array(MYSQLI_ASSOC);
$rows[]=$row;
}
?>