Drew2 Posted December 12, 2020 Report Share Posted December 12, 2020 Quick question: Why are there no periods bordering this php insertion? header("Location: $url"); I would expect it to look like this: header("Location: . $url . "); My guess, reading W3Schools and elsewhere is that both would amount to the same thing. I have to wonder though, it they amount to the same thing, why ever use the periods? -Seems like more work. Link to comment Share on other sites More sharing options...
administrator Posted December 22, 2020 Report Share Posted December 22, 2020 In programming, some languages will just allow some flexibility. In some instances, using extra code is an option to make the code more ridged ... which can be good for maintainability reasons. Link to comment Share on other sites More sharing options...
Drew2 Posted December 24, 2020 Author Report Share Posted December 24, 2020 Got it, thanks Link to comment Share on other sites More sharing options...
Recommended Posts