Answers for "how to put / in php as a string"

PHP
1

append variable into string php

echo "'$animal'";
Posted by: Guest on January-27-2021
0

php string plus string

<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"

$a = "Hello ";
$a .= "World!";     // now $a contains "Hello World!"
?>
Posted by: Guest on August-03-2020

Code answers related to "how to put / in php as a string"

Browse Popular Code Answers by Language