Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP Variable in String

phpCopy#php 7.x
<?php
$prefix = "Comfort";
$suffix = "able";
echo "{$prefix}{$suffix}";
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #PHP #Variable #String
ADD COMMENT
Topic
Name
3+6 =