Jump to content

Refresh


rashmi_k28

Recommended Posts

Hi,

 

I have the php pages where all the functions is writen in page called func.php

 

The functions are called in another page which the values are returned in arrays. Now I have to make all the pages ajax enabled.

 

How can I do it.

 

include("./func.php");

$name       = Names(1);
array_shift($name);
$timeval       = $name[0];


<HTML>
<HEAD>
</HEAD>
<BODY leftMargin=0 topMargin=0>
echo "<div style=\"position:absolute; left: 500px; width:365px; top: 230px\" align=center><font size=1 color=#a41325 face=Arial>The last time is on $timeval</font></div>";
</body>
</html>

 

The mysql is used to store the records. To print the last time i have to fetch the data from database.

Untill I hit the refresh key the page is not refreshed. so using ajax how to refresh the entire page without hitting the refresh button or F5 key.

 

Please help me as I am finding too difficult

Link to comment
https://forums.phpfreaks.com/topic/127210-refresh/
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.