please help i want to load record in my div id ="msgbox"
<div id ="msgbox">
<form action="connection/selectemp.php" method="post">
</form>
</div>
this is my connection
<?php
$con = mysql_connect("localhost", "root", "");
if(!$con){
die('Could not connect:' . mysql_error());
}
mysql_select_db("intranet", $con);
$result = mysql_query("SELECT * FROM `tblmsg` INNER JOIN `employee` ON tblmsg.empid = employee.empid");
while($row = mysql_fetch_array($result))
{
echo $row['uname'] . ":" . " " . $row['messg'];
echo "<br />";
}
mysql_close($con);
?>
but my records do not load... help please thank you ;)