The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Text converter

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28191

    Hi, at the moment i have text in a mysql database which is displayed on my page through an echo in php. The trouble is that it removes the paragraphs and doesn’t display some special characters in some browsers, ie instead of having ‘,",",£,$ these characters for example some browsers just show them as a question mark in a triangle.
    So i thought about changing theses characters into there html key code things (i don’t know what there called) but this would take ages for the amount of text i have and the amount i have to update each day, so does anyone know a free program that i can copy my text into and it will change the special characters and paragraph breaks into html code?

    Many Thanks


    PHP can do the job:

    echo htmlentities($string);

    // This would return:

    This is my string & I like <b>dogs</b>

    Hope this helps,


    You’ll probably need to find a WYSIWYG, though I’m not sure how well that’s going to work if all of your copy is in a database.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.