Hi I'm designing my own simple blog and am stugling with finding to best way to impliment smilies in my blogs.
What I plan to do is get the blog form the user, via a form (which I've done) and then put that in a var, to be ultimately sent to the DataBase. So I've got the Blog text in the var $blog.
<?php
$blog = " Today I worked on my blog. :-) :-P ::-) :-&";
//for our puposes lets just forget about the form right now
//What is the most efficiant way of developing a smilies system?
?>
What is the most efficiant way of developing a smilies system? (consedering I plan to develop a method of add smilies (with smilie codes) using another table in my database?)