Hey guys,
I'm having a little bit of trouble here.
I have a variable called Latest1 and it's value is some HTML and PHP code.
I have a function that does document.getElementById().innerHTML = Latest1;
So when that happens, it runs the HTML code but for some reason it doesn't run the PHP code.
Because of Javascripts stupid string weirdness, it won't let me type <? because it then treats that as not a string... Which is so annoying.
So, I had to use escape codes:
<?php = %3C%3Fphp
I replaced all my '<?php' to '%3C%3Fphp' and it doesn't work :(
Please help!
Thanks! :-/