I have a website running and I am using an ajax live search to retrieve mysql records. It apears that on some computers the live search is being cached and they do not see the new records that have been added since they logged into the site. If they close their browser and reopen it all is well. Any ideas why this would be happening would be great. I really dont understand how ajax works and this is just killing me…
LiveSearch.php
[php]
mysql_select_db(“pcon”, $con);
$sql=“SELECT * FROM company WHERE name LIKE '%”.$q."%’";
$result = mysql_query($sql);
?>
|