Hi all 🙂
I am new to php and trying to write a script that automatically builds a sitemap.
It is all working fine except for the bit in the string that instead of printing & # 3 8 ; (without the gaps) it is changing that to ? which is what & # 3 8 ; (without the gaps) translates to.
How do I write the code so that & # 3 8 ; (without the gaps) will be printed?
Here is the code line
echo "- http://www.mysite.com/my_file.php?cPath=$catid3& # 3 8 ; (without the gaps) products_id=$prodid3" ;
which should return something like
my_file.php?cPath=33& # 3 8 ; (without the gaps)products_id=33
I had to put & # 3 8 ; (without the gaps) as even in this forum it was changing it to ?
Any help or pointing in the right direction would be most appreciated! 😃