+ 1

how to concatenate two strings in php

24th Jun 2016, 5:23 AM
Aman gautam
Aman gautam - avatar
5 Respuestas
+ 1
$name='Patel'.' '.'patel';
24th Jun 2016, 7:24 AM
Patel Hilay
Patel Hilay - avatar
+ 1
dot (.) operator are used to concatenate a two strins or you can use string functions
25th Jun 2016, 8:24 AM
Riddhi Sankaliya
Riddhi Sankaliya - avatar
0
use a dot(.)
24th Jun 2016, 5:33 AM
Abbeville
Abbeville - avatar
0
Use a dot(. ) between the things u want to concatenation. Sample code: $name = 'sandra' ; echo 'Welcome, ' . $name; //this will output WELCOME SANDRA
28th Jun 2016, 5:12 AM
Bello Morenikeji
Bello Morenikeji - avatar
0
dot (.) operator
28th Jun 2016, 7:50 AM
Riddhi Sankaliya
Riddhi Sankaliya - avatar