Jump to content


Returning multiple values in a while loop

  • Please log in to reply
21 replies to this topic

#21 shoz

  • Staff Alumni
  • Advanced Member
  • 600 posts

Posted 12 September 2006 - 02:26 PM

I didn't know that the article's text was inserted into the database with HTML tags with the relevant characters converted to their HTML entities.

That being the case, you should remove the htmlentities calls from the script. I have to assume that everything, including the tags have been HTML formatted on insertion.


htmlentities($tag, ENT_QUOTES)


You should be able to change all the other htmlentities calls.

#22 djneel

  • Members
  • PipPip
  • Member
  • 22 posts
  • LocationBelgium

Posted 12 September 2006 - 02:34 PM

No problem. I was going to remove that bit of code, to see what would happen. I'm going to write the content of the blog, using a handmade CMS with the tinyMCE plugin. For those who don't know tinyMCE: it is a free "what you see is what you get"-editor, which converts a text field of a form into a word-like interface which you can use to format text in real life. So, yes I'm going to need the contents of the tables as they are. But thank you for your useful remark.
always eager to learn new things

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users