mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 02:04:23 +02:00
Added section on how to declare and initialize both single varible and multiple varibles with the same value. Important concept for large structured programs. Seperated this a little bit.
This commit is contained in:
@@ -101,9 +101,7 @@ $sgl_quotes
|
||||
END;
|
||||
|
||||
// String concatenation is done with .
|
||||
echo 'This string ' . 'is concatenated';
|
||||
// Strings concatenation can also be combined with html elements
|
||||
echo 'This string is' . '<strong>' . 'bold with strong tags ' . '</strong>.'
|
||||
echo 'This string ' . 'is concatenated';
|
||||
|
||||
|
||||
/********************************
|
||||
|
Reference in New Issue
Block a user