Php – open a new html page through php

htmlPHP

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

Best Answer

Try using the header function.

header("Location: $url");