Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • string

PHP - String concatenation

Joining 2 strings one after another.

0
459
  • Share on Facebook
  • Share on Google+
  • Share on Twitter

Using "." operator

documentation

{{str1}} . {{str2}}
php

Notes

last update: Dec. 2, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Repeat string

Other language

  • Scala
  • Python
  • Django template

Random task

  • Convert integer to string padding with zeros
  • Box-sizing
  • Style external links
  • Select dom element by class
  • Delete local branch
  • Blog
  • About
  • License