Hello,
I have a mysql database which as one of the fields contains a html description. This description is not in my control, and is obtained and inserted automatically. An example of one of these descriptions is here:
http://www.nomorepasting.com/getpaste.php?pasteid=22492
The data is originally exported from an access database, and seems to remain intact. An example of the exported data is here:
http://www.yousendit.com/transfer.php?action=batch_download&batch_id=TTZtWmdsT01kMnVGa1E9PQ
I am trying to output the variable containing the html description into a popupwindow, to display it as is. The code I am trying to use to do this is here:
http://www.nomorepasting.com/getpaste.php?pasteid=22498
However it produces the following html code:
http://www.nomorepasting.com/getpaste.php?pasteid=22462
There is an unclosed style tag which prevents the rest of the page from displaying, and the popup winbdow from opening. I have narrowed this down to a php problem as far as I can tell, because the data seems fine in mysql.
edit:
I just attempted to select only article_Desc from the database with this code:
http://www.nomorepasting.com/getpaste.php?pasteid=22494
Which produced this as a result:
http://www.nomorepasting.com/getpaste.php?pasteid=22496
edit2:
There seem to be a problem with the countrycode variable containing the style tag. When I remove this, the picture is displayed and the popupwindow is created, only with html results much like the last link I pasted. The data seems correct in the database, so what could be causing this problem?