Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick Redirect syntax help please?

Status
Not open for further replies.

WilliamMute007

Programmer
Sep 30, 2007
116
GB
Hi,

Sorry, I know this may be easy enough for most guru's on here, can anyone please help me?

I only want a simple re-direct from a link stored within a variable. Please see below attempt which didnt work

Code:
header('Location: '$destination'');

I appreciate your help please. Thank you
 
SOrry guys,

I messed about and figured it out.
Just in case any other semi amateur like me needs to know :)

Code:
header("location: $destination");

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top