Jump to content

Header Redirect Syntax


justinbriggs1
 Share

Recommended Posts

Can't use single quotes inside single quotes without escaping them. And your variable won't get interpolated unless it's in double quotes. But do you really want any quote marks in your query string in the first place? Try this:header("Location:bonusadd.php?FILE=nofile&bonus_name=$bonus_name");

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...