Jump to content

refresh page by `fetching`


dezkit

Recommended Posts

I have this script

<?php
session_start();
if(isset($_SESSION['views']))
 $_SESSION['views']=$_SESSION['views']+1;
else 
$_SESSION['views']=1;
echo "Views: ". $_SESSION['views'];
echo "<a href=\"\">Refresh</a>";
?>

 

Is there a way to refresh the page without the page loading, like the content not moving, but just like "fetching" ?

Link to comment
https://forums.phpfreaks.com/topic/122956-refresh-page-by-fetching/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.