Author Topic: Auto Refresh the PHP files  (Read 6429 times)

Offline [David]

  • Jr. Member
  • **
  • Posts: 13
    • Meteo Catanzaro
Auto Refresh the PHP files
« on: March 19, 2013, 06:51:29 AM »
Hi guys, can you please help me to AUTO REFRESH just the :

 <!--  Include weather data table  -->
<?php include('index_txt.php'); ?>

(which includes 'wt_data_inc.php')

without refreshing the whole index page? I just need to auto refresh Temperature, Hum etc etc ...

I read lot of things (JQuery, AJAX etc) for doin` that but no results :( how can I do this? 

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Auto Refresh the PHP files
« Reply #1 on: March 19, 2013, 02:21:20 PM »
Hi David,

You could search the web, for a javascript "trick" to do that you want.
Javascript could do the job, because it is on client side (as opposed to php)

Hope this help,

Regards,
Jacques
Please, consider supporting this site 

Offline [David]

  • Jr. Member
  • **
  • Posts: 13
    • Meteo Catanzaro
Re: Auto Refresh the PHP files
« Reply #2 on: November 27, 2013, 12:42:26 PM »
Months and Months...and I still have the same problem. Don't know how to auto update just the "include php" ... :(