0

I need that when user open first.php, Automatically go from first.php to second.php without click on link or bottom.

is it possible?

Edwin
  • 1,135
  • 2
  • 16
  • 24

2 Answers2

1

yes you can use header function.

header('location:second.php');
Gaurav
  • 442
  • 3
  • 7
1

You could use

header("Location: link/to/second.php");

This will redirect the user whithout inteaction.

Alviaz
  • 70
  • 5