How to refresh page in PHP?

Member

tressie.damore

by tressie.damore, in category: PHP General , 4 months ago

How to refresh page in PHP?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by darion , 3 months ago

@tressie.damore i believe you can use header() function to send the header to a browser and refresh the page in PHP, code:


1
2
3
4
<?php

// Refresh page in 1 sec
header("refresh: 1;");