mad_php Posted July 26, 2007 Share Posted July 26, 2007 how do i pass a variable into a header function. ie header( 'Location: $address' ); it keeps coming up with http://mysite.com/directory/$address Quote Link to comment Share on other sites More sharing options...
mad_php Posted July 26, 2007 Author Share Posted July 26, 2007 put double quotes inside header. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.