Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

open a new html page through php

Tags:

html

php

I want my php to open a new html page.

I have a html page, where a member can login by typing her username and password and then click on button.

if the username password is correct, i want my php to open a different html page in the same window.

how can i do this??

Zeeshan

like image 271
Zeeshan Rang Avatar asked Feb 26 '26 19:02

Zeeshan Rang


1 Answers

Try using the header function.

header("Location: $url");
like image 127
Keith Maurino Avatar answered Mar 01 '26 07:03

Keith Maurino



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!