Jump to content

Refreshing a variable


monkeybidz

Recommended Posts

I was wondering if it is possible to refresh a variable without refreshing the entire page or just refresh php and not html. My page uses index.php and a html template for index display. My page displays a variable that is called through php and displayed in html. I tried http-equiv="refresh' deal, but only refreshes both.

Link to comment
https://forums.phpfreaks.com/topic/76713-refreshing-a-variable/
Share on other sites

That's exactly what AJAX accomplishes. It stays 'in touch' with the server as necessary and only updates what it needs to, instead of a whole script or page. I believe there's an AJAX board here? Drop a question over there... they might be able to give you a hand.

 

PhREEEk

Link to comment
https://forums.phpfreaks.com/topic/76713-refreshing-a-variable/#findComment-388380
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.