PHP Classes

File: Emoji/demo/index.php

Recommend this page to a friend!
  Classes of Melih Berat SANLI   PHP Emoji Library   Emoji/demo/index.php   Download  
File: Emoji/demo/index.php
Role: Documentation
Content type: text/plain
Description: Example script
Class: PHP Emoji Library
Convert text to HTML replacing Emojis with images
Author: By
Last change:
Date: 1 year ago
Size: 338 bytes
 

Contents

Class file image Download
<?php require("../lib/emoji.php"); // New Directory mbsEmoji::attr("directory", "emoticons/"); ?> <!DOCTYPE html> <html> <head> <title>MBS Emojis</title> </head> <body> <?php $text = "Merhaba dŁnya nas?ls?n ben bu aralar pek iyi de?ilim :( veya iyim ya :))"; echo mbsEmoji::using($text); ?> </body> </html>