+ 1
Run a php code after 10s
hi guys how can i run a php code after 10 seconds when my main page (index.php) completely loaded
4 Respuestas
0
Maybe you can use JS setTimeout for the wait in index.php, afterwards you redirect to the desired PHP page. IIRC there's a meta for redirect, but I can't remember which meta that it was.
0
no i don't want to redirect to a php page i just want to update my database after 10s
i used Timeout. it didn't work for me i don't know why :(
0
tnx mirielle but i want to update my database only for one time
(only execute once)
is there any way except "SetTimeout" and "setInterval" to do this?