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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.