Hello,
I have the following PHP code pasted here:
http://www.nomorepasting.com/getpaste.php?pasteid=22461
Which produces the following html code:
http://www.nomorepasting.com/getpaste.php?pasteid=22462
My problem is that the popup window is not created, or if it is created that it is empty. I have used JSON encode as previously suggested, but that does not seem to work.
Also, no image is displayed, despite PIC_URL being a correct image. apprantly this is because of an unclosed style tag, however I do not know why that is being generated, or how to prevent it.
I would also like to know the best way to insert newlines into my php, so the generated html is not a contiguous block.
edit: ARTICLE_DESC is definitely not empty, despite what people are saying. However, I have used a different record to double check, and there is still the same problem, although img src and document.write are n o longer blank. The resulting html is here:
http://www.nomorepasting.com/getpaste.php?pasteid=22468
It definitely seem to be a problem with the unclosed <style ty
tag, but I see nothing responsible for generating that in the php