Search
 
SCRIPT & CODE EXAMPLE
 

PHP

concaténer 2 variables php

$var1 = "hello";
$var2 = "world";

$concat = $var1.' '.$var2; // $concat ='hello world' (with single quote)

$concat = "$var1 $var2"; // $concat ='hello world' ( with double quote)
Comment

PREVIOUS NEXT
Code Example
Php :: laravel seeding with relationships 
Php :: user location using php 
Php :: time now with milliseconds php 
Php :: woocommerce order item get product id 
Php :: carbon get day name 
Php :: json encode decode 
Php :: install php version 7.3 ubuntu 
Php :: assign $variable of key value pair array to multiple variables php 
Php :: add bootstrap class to checkout fields woocommerce 
Php :: laravel check environment hlper 
Php :: codeigniter update or create 
Php :: ver version de php en linux 
Php :: remove scientific notation number format in php 
Php :: Laravel stop on first validation error 
Php :: laravel relation select fields 
Php :: url() inside laravel config files 
Php :: php fpm test 
Php :: woocommerce hook after order placed 
Php :: session not working php 
Php :: create model laravel 
Php :: laravel read csv file 
Php :: php typeof 
Php :: get value from url in laravel blade 
Php :: cookies php syntax 
Php :: wp order archive page post by title 
Php :: php check if link exists 
Php :: select option in laravel 
Php :: eloquent where comparing two columns 
Php :: using php to add numbers in html form 
Php :: composer dump autoload laravel 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =