0

I have a problem to include another PHP file after success My project current structure is:

index.php and this file contains three another files top.php, login.php and bottom.php

File login.php contain logics etc and if logic is true then:

header('location:another.php'); 

It works but address still index.php (should be another.php) and after refresh it goes back into index.php. Hot to stay in another.php?

magic-s
  • 242
  • 1
  • 8

0 Answers0