combine two strings

how do you combine strings in php?

what i am trying to do is:

'index' + '.htm' -> 'index.htm'

thanks!

Comments

  • . is the concatenation operator.

    $NewStr = 'index'. '.htm';

    : how do you combine strings in php?
    :
    : what i am trying to do is:
    :
    : 'index' + '.htm' -> 'index.htm'
    :
    : thanks!
    :

  • i see.
    thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories