Posts

Showing posts from August, 2019

How To Create A Chat Box Using Ajax, php, Jquery, Html5

Image
Pinteres Live chat using php ajax, php ajax chatbox, Facebook like live chat, Live chat using php and ajax, Online chatting application, Login and Registration using php, facebook like chat application, Group chat, Chatbox using php ajax Index.php <!DOCTYPE html> <html> <title>Login Form</title> <head> <?php include(‘config.php’); ?> <style> body { background: url(‘1.jpg’) no-repeat fixed center center; background-size: cover; font-family: Montserrat; } .login-block { width: 320px; padding: 20px; border-radius: 5px; margin: 110px auto; background:#fff; border-top: 5px solid #ff656c; } .fullname,.username,.password{ width: 100%; height: 42px; box-sizing: border-box; border-radius: 5px; border: 1px solid #ccc; margin-bottom: 20px; font-size: 14px; font-family: Montserrat; padding: 0 20px 0 50px; outline: none; } .fullname { background: #fff url(‘5.png’) 20px top no-repeat; background-size: 16px 80px; } .fullname:focus { background:

Online Shopping Cart Using PHP MySQL Ajax

Image
How To Make Online Shopping Cart Using PHP MySQL Ajax, How to make online shopping cart, How to make php ajax shopping cart, Online shopping cart tutorial, php mysql shopping cart, Shopping cart using session, Shopping cart, Online shopping tutorial, How to make shopping cart using php and ajax,php and ajax shopping cart demo, Shopping cart demo Cart.sql — Database: `cart` — CREATE DATABASE IF NOT EXISTS `cart` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `cart`; — ——————————————————– — — Table structure for table `product` — CREATE TABLE IF NOT EXISTS `product` ( `id` int(11) NOT NULL AUTO_INCREMENT, `pro_image` text NOT NULL, `name` varchar(200) NOT NULL, `price` varchar(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; — — Dumping data for table `product` — INSERT INTO `product` (`id`, `pro_image`, `name`, `price`) VALUES (1, ‘1.png’, ‘Mi 4i (Grey, 32 GB)’, ‘20000’), (2, ‘4.png’, ‘Samsung Galaxy J7 (Gold, 16 G

Simple Pagination Using PHP And MYSQL

Image
iteres PHP Pagination, Pagination With PHP And Mysql, Pagination Tutorial, Pagination Example Download:  https://drive.google.com/open?id=1UBIgLh-XQ_ihmFJmbrk0gcSR1iEUF5FC Watch Tutorial:  https://youtu.be/KnqcYTrdxY0 Watch Pagination Using PHP + MYSQL + AJAX and JQUERY:  https://youtu.be/x3t7Fi_6NEo

Create a RESTful API using PHP, My-sql and Slim-Framework

Image
Get 100$ FREE credit & hosting at scale In this tutorial we will learn to create RESTful API using PHP, My-sql and Slim-Framework. I have create a sample login application to demonstrate the working. Here is my folder structure below. API Folder Structure View demo  –  here Download Code  –  here Steps to create APIs  : First download the code from the above link.You will need a server and phpmyadmin to run the code, alternatively you can also run the program on a local server using xampp or wamp. For creating an API of your own, all you have to do is change the following files as required,rest other stuff has been pre-configured by me so no need to worry about it for basic implementation.You can download code from  here . “ api/includes/db_config.php ” : Add database connection connection. “ api/routes/site.php ” : Here you should define the url for the API and add processing code and output your required json response. Refer  Create login api section