Hello, I’m trying to find a function in PHP manual that allow me to replace each element of the string with quotations around it.
For example, the code is
$strkeywords = join(', ', $_POST['keywords_main']);
echo $ $strkeywords;
The result of echo is
keyword1, keyword2
I need it to look like (with quotations around each element)
‘keyword1’, ‘keyword2’
Could you please tell me how to achieve needed result?
Thank you,