-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.

Alive to die - Anant
  • 70,531
  • 10
  • 51
  • 98

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,221
  • 7
  • 14