blinks Posted April 14, 2010 Share Posted April 14, 2010 Can anyone explain why this bit of code works - header("Location: http://localhost/workflow/new.php?cat=select_workflow"); but this doesn't - $url = "http://localhost/workflow/new.php?cat=select_workflow" header("Location: $url"); nor does header('Location: '.$url); TIA Quote Link to comment Share on other sites More sharing options...
AdRock Posted April 14, 2010 Share Posted April 14, 2010 Are you not getting an error on this line? $url = "http://localhost/workflow/new.php?cat=select_workflow" no semi colon Quote Link to comment Share on other sites More sharing options...
blinks Posted April 14, 2010 Author Share Posted April 14, 2010 Gosh, that was it! Thank you! <banging my forehead!> 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.