Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP Variable in String

phpCopy# php 7.*
<?php
$txt = "salt";
echo "{$txt}y";
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #PHP #Variable #String
ADD COMMENT
Topic
Name
5+7 =