Hi all
im still a newbie in php and
i am having a problem with a script im working on
i trying to read news from googles news api
but on the page display instead of a ' (Apostrophe) i get & #39; with the text output
ive tried to use str_replace to correct this but it seems it cant pickup the & #39;
Please help here is the code ive come up with below
heres your fix. i used your str_replace method.
i noticed while looking at the source that it actually produced. ' rather than '
so i just added the amp for you 😉
I need some facebook likes, can you please help me 🤝
http://facebook.com/softwarefreakin
I noticed social media is really powerful 🧙
Well DONE is better than well SAID
i didnt even think about that when replying to the original poster.
your way is indeed better..
also to the original poster. i would recommend also doing it to the snippet function as the problem is there also
ive taking it upon myself to do the modding myself. here is softwarefreaks suggestion done to title.
and also done to snippet. so the whole page looks better.