Hi Guys,
I have a small problem. Don't know how to fix it,
Ok I have a file called data.php where I have
$name = 'Fiona Oleary';
I have another file called site.php where I have Included this data.php
I call this by print ("$name");
It works. But the problem comes when I add a apostrophe ' in the name,
Say If I put the name value as Fiona O'leary it doesn't work. I think its because having 2 apostrophes in value.
How to overcome this ? I'm new to PHP any help please ? 🙂