-1

This is the code ....

header("Location: https://www.example.com/search.php&checkin_monthday=".$Checkin_date."&checkin_month=".$Checkin_month."&checkin_year=".$Checkin_year."&checkout_monthday=".$Checkout_date."&checkout_month=".$Checkout_month."&checkout_year=".$Checkout_year.");

This is not working. Please kindly help me to fix this.

Anant Kumar Singh
  • 68,309
  • 10
  • 50
  • 94

1 Answers1

-1

header is wrong, you forgot to close the last quote, either remove it or close it

header("Location: https://www.example.com/search.php&checkin_monthday=".$Checkin_date."&checkin_month=".$Checkin_month."&checkin_year=".$Checkin_year."&checkout_monthday=".$Checkout_date."&checkout_month=".$Checkout_month."&checkout_year=".$Checkout_year);
Exterminator
  • 1,193
  • 5
  • 14