Answers for "double quote string php"

PHP
1

php quotations within quotations

<?php
  echo '<span onclick="$(this).addClass('selected');"> </span>';
?>
Posted by: Guest on July-20-2020
0

php triple quotes

$str = <<<'EOD'
Example of string
spanning multiple lines
using nowdoc syntax.
EOD;
Posted by: Guest on July-13-2021
-1

how to print any string in double quotes in php

$web = "...if (url.contains(".mp4"))..."
Posted by: Guest on May-26-2020

Browse Popular Code Answers by Language