I need to store a comma delimited string (array of urls) inside mysql table.
for example:
"https://google.com,https://yahoo.com,https://something.com"
fetching this from the table inside php I'm using explode
function to get an array.
$arr = explode(',', $string);
Problem is because some url can contain comma character inside itself and this can produce confusion.
In fact, url can contain any character, escaped or not - it will produce error in explode
function.
Any help?