tanim3221 / Emoji-Picker-JavaScript

Emoji Picker project developed in HTML5, JavaScript and PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emoji Picker ✨ 💥 😍 😍 💥 ✨

This is a project which helps to select Emojis for the input box. For better convinience I have written 3 seperate folder codes:

  1. HTML 5 and JavaScript: Here just emoction can be inserted in input box and textareas

  2. PHP: A Form is present, whatever one is writing in input box along with emoji is sent to the backend code page as well as Database(MySQL). Value is fetched from the database as well.

  3. PHP and AJAX: A Form is present, which inserts emojis and text in the database and retrieves from it without refreshing the page.

Installation

  1. Clone or Download the repository and keep it in server or local server(like XAMPP).

  2. For this we are using MySQLi, sql file is present in the root directory

  3. Create a Database and import the emoji_db.sql table present in the repository.

  4. You need to configure your connection on all the codes i.e. HTML, PHP, AJAX

$conn = mysqli_connect("server_details", "username", "password", "database_name");  //connection with database

Eg. 

$conn = mysqli_connect("localhost", "root", "123456", "emoji_db");  //connection with database

You need to make changes on the following codes:demo2.php of PHP, index.php and welcome.php of AJAX

  1. Execute index.php of all the three codes seperately as named in the folder.

  2. Common codes are placed in the root directory

Preview

Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker


Screenshot of Emoji Picker





License

(The MIT License)

Copyright (c) 2016 Amir Mustafa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Emoji Picker project developed in HTML5, JavaScript and PHP


Languages

Language:JavaScript 86.3%Language:PHP 7.2%Language:CSS 2.9%Language:HTML 2.0%Language:CoffeeScript 1.6%