I have a form on the page of my site. I have a table in which echos from the submit form, which I would not want to cache, because when you enter the form, the cached version is displayed and not updated. Is there a better way not to cache the page rather than meta tags?
The code I'm using now is
<?php $query='select * from article order by `article`.`time` DESC LIMIT 10'; $result=mysql_query($query); echo '<table class="mytable" width="1000px" border="0">'; while($row = mysql_fetch_array($result)) { echo "<td><a href='".$row['url']."'>".$row['title']."</a> - ".$row['name']."</td><td>".$row['class']."</td></tr>"; } echo '<table>'; ?>
source share