how to concatenate two strings together in php???

It is for static page, dynamic page, website, SEO, performance and other web development discussion
ramverma
Posts: 435
Joined: Sat Aug 23, 2014 5:34 pm
Contact:

how to concatenate two strings together in php???

Postby ramverma » Mon Oct 19, 2015 5:58 am

how to concatenate two strings together in php???


jeff2345
Posts: 49
Joined: Tue May 05, 2015 7:09 pm
Contact:

Re: how to concatenate two strings together in php???

Postby jeff2345 » Tue Oct 20, 2015 6:26 am

You can use the string concatenation operator (.) to join two strings into one. Here is a PHP script example of string concatenation:

<?php
echo 'Hello ' . "world! ";
?>

This script will print:

Hello world!


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 0 guests