Trouble with a text data file

Discussion in 'Programming' started by saneless, Aug 22, 2007.

  1. #1
    I am setting up a PHP guestbook. I have also set up a script to use smilies. The guestbook uses a text file to store messages. In the stored message the smilies are saved as code:

    <img src="image/smile/tongue.gif">
    HTML:
    When I edit a message with smilies in it, the text part comes up in the edit box but not the smiley code so that you have to reinsert smilies into a message. Any idea how to remedy this? Thanks
     
    saneless, Aug 22, 2007 IP