Answers for "how to use double quotes inside double quotes in php"

PHP
1

php quotations within quotations

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

how to replace double quotes in a string in php

to replace double quotes, you can do this:
$newPhrase = str_replace('"', '', $phrase);
Posted by: Guest on July-29-2021
-1

how to print any string in double quotes in php

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

Code answers related to "how to use double quotes inside double quotes in php"

Browse Popular Code Answers by Language