Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

php redirect to same page after submit?

make money online
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

Senior Member
How can I redirect to the same page after you click on submit button with PHP?
marcus_avrelius Offline referral

Posts: 2,507
Joined: May 2013
Reputation: 109

Support Team
You can use PHP header.
PHP Code:
header('Location: '.$_SERVER['HTTP_REFERER']); 
Rapidsoft technologies Offline referral

Posts: 224
Joined: Sep 2015
Reputation: 1

Nice! PHP header is good to use.

Google this topic

User(s) browsing this thread: 1 Guest(s)