How do I write the "dot" into a file name in a PHP script?

  • Thread starter Thread starter Rockstar
  • Start date Start date
R

Rockstar

Guest
I'm trying to write a file, but in order to do so, I need to concatenate some strings. The file type inevitably contains a period ("dot" or "."). Of course you know that the period is used in string concatenating, so when the script encounters the extra period, it dies... How do I right a period without doing that?

EX:

$str = $postOrder.$postTitle.".html"

That doesn't work.
nevermind... I don't know why it wasn't working. It's working now.
 
Back
Top