How to edit post in Wordpress?
Posts
What is Codeigniter?
- Get link
- X
- Other Apps
For building a web application you spend a lot of time in writing the same code again and again. Frameworks provide you a starting block and minimize the amount of code needed to build a website. CodeIgniter is PHP driven framework but it's not a PHP substitute. Diving into CodeIgniter doesn't mean you are leaving PHP behind. PHP is a server-side scripting language for building dynamic web-based applications. CodeIgniter contains libraries, simple interface and logical structure to access these libraries, plug-ins, helpers and some other resources which solve the complex functions of PHP more easily maintaining a high performance. It simplifies the PHP code and brings out a fully interactive, dynamic website at a much shorter time. It supports PHP version of 5.2.6 or newer and MySQL version 4.1 or newer. It makes your web more robust and your code easier to read and maintain. It is a free toolkit, light weight and easier to install. A person using CodeIgniter must be f...
phone no validation
- Get link
- X
- Other Apps
< form > Phone Number (format: xxx-xxx-xxxx): < input type = "tel" pattern = "^\d {3} -\d {3} -\d {4} $" required > < input type = "submit" value = "Submit" > </ form > < form > Phone Number (format: xxxxxxxxxx): < input type = "tel" pattern = "^\d {10} $" required > < input type = "submit" value = "Submit" > </ form >
Display records from database using pie chart
- Get link
- X
- Other Apps
<?php $con=mysqli_connect('localhost','root','root','pie_chart') or die(mysqli_connect_error()); $query=mysqli_query($con,"select * from visitors") or die(mysqli_error($con)); ?> <html> <head> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['country', 'Visits'], <?php while ($row=mysqli_fetch_assoc($query)) { ...
Difference between two dates
- Get link
- X
- Other Apps
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <!-- daterange picker --> <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css"> <!-- bootstrap datepicker --> <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css"> <link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" rel="Stylesheet" type="text/css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> ...
Dependent dropdown using ajax
- Get link
- X
- Other Apps
index.php <!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"> </head> <body> <div class="container" style="margin-top: 70px;"> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6"> <form action="insert.php" method="post"> <div class="form-group"> <label for="exampleInputEmail1">Department</label> <input type="text" name...