Jump to content

OOP Shopping Cart m_template.php line 39 - Why no period?


Drew2

Recommended Posts

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

  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...