PHP - Introduction
PHP - Setup
PHP - Syntax
PHP - String
PHP - constants
PHP - Operators
PHP - Superglobals
PHP Forms PHP - Forms
MySQL - Create DB
MySQL - Update Data
MySQL - Delete Data

PHP String

PHP String is enclosed with single quotes or double quotes, single quotes is used for display static data and double quotes is used for display dynamic data.

$firstVariable = "Welcome to PHP";
$secondVariable = 'Welcome to PHP';
echo $firstVariable;
echo $secondVariable;


Welcome to PHP //echo $firstVariable;

Welcome to PHP //echo $secondVariable;