This is a basic HTML issue not really PHP, but, we can help you…
The problem is inside and outside quotes. You can NOT use single quotes INSIDE single quotes unless you “escape” them. The easiest way is just change the INSIDE single quotes to double quotes. All done.
OR, if you want the single quotes to show up in the results, you need to “escape” them. (Using ‘/’)
So, ‘.$url.’ becomes /’.$url./’
Maybe this will explain it: your code:
return ‘’;
is REALLY this code:
return ‘’;
**** Note the single quotes are what you started and ended with and you can’t use them in between with the escape.
Hope that helps…