$title=$movieArray['title'];
echo $title;
The value of the string after echo out is "Sherlock". How to remove the quotation marks of a string to become Sherlock
$title=$movieArray['title'];
echo $title;
The value of the string after echo out is "Sherlock". How to remove the quotation marks of a string to become Sherlock
You can use str_replace() for this.
$title = str_replace('"', '', $movieArray['title']);
Replaces the "-Quotationmark
$title=$movieArray['title'];
$title = trim($title,'"');
echo $title;