subhomoy Posted November 26, 2012 Share Posted November 26, 2012 (edited) Hiii i want to do this similar thing in my website as the one in clixsense.com The image is shown below as you can see that the statistics are constantly changing with real time... I know how to querry from database to show the statistics but it does'nt show with real time... it changes after refreshing the page... can any one help me to do that... Thanks in advance.. Edited November 26, 2012 by subhomoy Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/ Share on other sites More sharing options...
drmovi Posted November 26, 2012 Share Posted November 26, 2012 fine this require some knowledge a bout javascript and ajax try reading some jquery Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395093 Share on other sites More sharing options...
subhomoy Posted November 26, 2012 Author Share Posted November 26, 2012 can anybody plz guide me through it... I don't know anything about it... Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395143 Share on other sites More sharing options...
subhomoy Posted November 27, 2012 Author Share Posted November 27, 2012 anybody plz help.... I need it very much..... plz plz plz plz Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395586 Share on other sites More sharing options...
Beeeeney Posted November 27, 2012 Share Posted November 27, 2012 Read some online tutorials on jQuery and Ajax. Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395588 Share on other sites More sharing options...
MDCode Posted November 27, 2012 Share Posted November 27, 2012 <script> var auto_refresh = setInterval( function() { $('#lalala').load('lalala'); }, 100); </script> This is all I will provide. In order to learn how to use it, look in to jquery. Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395594 Share on other sites More sharing options...
codefossa Posted November 27, 2012 Share Posted November 27, 2012 Check out jQuery's $.load() function. Then you set up a PHP page that retrieves the information from the database and echoes it out. Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1395607 Share on other sites More sharing options...
subhomoy Posted November 30, 2012 Author Share Posted November 30, 2012 Thanks guys.... That is what i needed... Thank You..... Quote Link to comment https://forums.phpfreaks.com/topic/271173-can-anyone-help-me/#findComment-1396493 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.