PHP Message Smiley Emotion

Posted on: 26/07/2014
136929 views, 0 comments

It is very convenient if we can show our feeling emotionally with our text message to someone we wish to understand our feeling. We might experienced with some social networkslike Facebook where smiley message is very convenient to express the feeling.

This function will display those smiley symbols by converting the smiley charactors to the smiley image. So, smiley image file is needed for working with this function. You may have your own smiley image design or your favorite one by just customizing the smiley images used in the function. The below script and instruction will show how the function works.

PHP Facebook Time Ago Display

Posted on: 25/07/2014
129875 views, 0 comments

It is a good idea to show your visitor the exact comment, post, chat, message, etc. about it dates, especially exactly how low they are untill current time. Showing such this detail date information, your website will be more professional and attractive regarding to this clear and accurate date information.

You may have much experiences with facebook social network where date time ago is very common and attractive. This function will calculate the datetime passed by display the accurate date and time passed with short description text (ex. just now, a few seconds ago, 10 seconds ago, 1 minute ago, 1 hour ago, 1 day ago, etc.).

You can also change the text label to be displayed directly in the function and add some more condition as your need. The bellow instruction will show you the function script and assist you to use the function correctly.