PHP Question
#3

Quote:
Originally Posted by Alf21
Посмотреть сообщение
PHP is server-sided so you need to combine PHP and Javascript.
Use PHP to show your basic page. Then implement a Javascript timer that ticks every second.
If the timer completes, you will need to implement a Ajax function that is called when the timer finished.
This Ajax script should call a PHP script / page and so you can get data without refreshing or loading a page.

More info: search in ****** for 'PHP and Ajax'

But if you simply wants to call a new page or change/add/remove content after few seconds, you can easily use a Javascript timer without Ajax or PHP.

The only one timer i know is these one type of timers: http://stackoverflow.com/questions/8...op-a-timer-php
This type of timer is created to count the time that is elapsed during doing some functions
Okay thanks Sir i will try using your Suggestion
Reply


Messages In This Thread
PHP Question - by Zorono - 25.08.2016, 13:55
Re: PHP Question - by Alf21 - 25.08.2016, 14:18
Re: PHP Question - by Zorono - 25.08.2016, 14:29
Re: PHP Question - by BlackBank - 25.08.2016, 17:55
Re: PHP Question - by Zorono - 26.08.2016, 09:56
Re: PHP Question - by BlackBank - 26.08.2016, 17:19
Re: PHP Question - by Zorono - 20.09.2016, 15:11
Re: PHP Question - by BlackBank - 20.09.2016, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)