There really is a much easier way of doing this: if ( $this -> upload -> do_upload ()) // If file was uploaded { ...
Store date only in mysql with php codeigniter
What is your reason for doing this? I can't see any reasonable use for it. You cannot change the way MySQL stores dates, no. But you...
Datepicker in jquery example
<input type="text" Placeholder="Start Date" class="datepicker"/> <script> $( ".datepi...
How can I get query string values in JavaScript?
You don't need jQuery for that purpose. You can use just some pure JavaScript: function getParameterByName ( name ) { name = ...
Fatal error: Cannot redeclare class (PHP)
Use require_once instead of require
Jqery remote validation example
<script> $(function(){ $("#register_form").validate({ rules: { username:{ required: true, }, email:{...
mysql query to get the last 7 days user records
SELECT visitors_id FROM `joy_visitors_count` WHERE `time_stamp` >= DATE_SUB(CURDATE(), INTERVAL 7 DAY)
How to get this month registered users records in mysql query
SELECT userid , MONTH ( time_stamp ) , time_stamp FROM `users` WHERE MONTH ( time_stamp ) = MONTH ( CURDATE ( ) ) LIMIT...
CSS flip horizontally
<div style="width: 200px"> <div style="float:left"> </div> <div style="float:...
how to send HTML Template as mail in codeigniter
$data [ 'map_to' ]= $this -> input -> post ( 'map_to' ); $event = $this -> db -> query ( "query&q...
Codeigniter Dynamic Config base_url
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https&qu...
Google Maps Address autocomplete
<html> <head> <meta http-equiv =" Content-Type " content =" text/html; charset=windows-1252 "> <...
Popular Posts
- Datetime picker in jquery simple example with dd/mm/yyyy format
- How to integrate SEND Grid with Codeigniter
- Simple Login with Highlevel Security IN PHP using sessions
- File Upload Conditions helper in Codeigniter
- Remove all special characters from a string
- How to use Sumo Select in jquery with example
- Pincode find API
- Only variable references should be returned by reference - Codeigniter
- Create a HTML Program to divide the webpage into 4 Parts
- Detecting the Ajax request in Core PHP