+ 1
how to concatenate two strings in php
5 ответов
+ 1
$name='Patel'.' '.'patel';
+ 1
dot (.) operator are used to concatenate a two strins or you can use string functions
0
use a dot(.)
0
Use a dot(. ) between the things u want to concatenation. Sample code:
$name = 'sandra' ;
echo 'Welcome, ' . $name;
//this will output WELCOME SANDRA
0
dot (.) operator