Latest Post

Autocomplete with images and custom html code in Jquery UI?

In your website you require to set auto-complete user full-name with image. generally you use auto-complete with name, email, message etc text but if you want to add image or your own html code like user html tag in autocomplete then you have to use "_renderItem" in jquery ui. how you will create i give you example of html file : <strong>Index.html</strong> <pre class="code language-html language-javascript"> <title>How To Use Autocomplete</title> <link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="https.....

By Hardik Savani | January 7, 2016 | | 7302 Viewer | Category : PHP jQuery
READ MORE

Which MySQL datatype use for store an IP address?

If you want to store IP address in mysql database then don’t mistake to use varchar datatype because you can use INT UNSIGNED 4(BYTE) datatype. using integer datatype you can save more space in database. when you fire insert query at that time use INET_ATON() and select query at that time INET_NTOA() use. how to use this function given bellow example. <strong>Create Table : </strong> <pre class="language-mysql"> CREATE TABLE IF NOT EXISTS `ip_addresses` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ip_address` INT(4) UNSIGNED NOT NULL, PRIMARY KEY (`id`) ); </pre> <strong>Insert Da.....

By Hardik Savani | January 7, 2016 | | 1202 Viewer | Category : PHP MySql
READ MORE

Mysql Hexadecimal color code store in binary datatype.

If you have thousands of record store, that time database size would be large. but you can some field can save your number of bites in the database. you have color field then most of you choose string(6) data type and you wast 6 bites on every record, but you can save number of bites data by using BINARY(3) data type. following example through you can set data type for hexa color code with only allocate binary(3) on every records. first how to create table and assign data type with following query. <pre class="language-mysql"> CREATE TABLE IF NOT EXISTS `colors` ( `id` int(10) unsigned NOT N.....

By Hardik Savani | January 7, 2016 | | 1641 Viewer | Category : PHP MySql
READ MORE

How to get Lat and Lon from google map API in Jquery PHP?

if you are working on php, asp or any other framwork and you want to integrate google API and also you want to get Latitude and Longitude for location. we have mostly fetch some problem when we set google map because i tried and i also fetch problem. but i am giving you with search location and get Latitude and Longitude of that location. you have to use html file, css file and js file as i write under and use them in your system. first you have to create simple html file. so create folder in your system and create new index.html file and copy index.html file as i give you under. <strong>Inde.....

By Hardik Savani | January 6, 2016 | | 1953 Viewer | Category : PHP Javascript jQuery Google Map
READ MORE

How to add pagination with union in Laravel 4 and Laravel 5 ?

You are using union and you want to give pagination, but you can't give. i also fetch that problem if you use union with pagination. you have to create pagination manually using Paginator Class. if you are using Laravel 4 then you can use Paginator Class library and if you use Laravel 5 then you have to give help of \Illuminate\Pagination\LengthAwarePaginator Class function. you have to many times need give a manually pagination like if you are using having, union etc. now i am giving you example of Laravel 4 and Laravel 5 both you can do this way. <strong>Laravel 5</strong> <pre class="langu.....

By Hardik Savani | January 6, 2016 | | 5054 Viewer | Category : PHP Laravel
READ MORE


groupBy() Google Chart File Upload Div Foreach Element Prompt modal response() Auth Windows clockface plugin Scroll Message Particular Mediafıre API Pull Object KCFinder SEO DB::raw() dompdf Ajax Request MySQL Subquery Variable Key Phonegap Bootstrap show password Plugin Append Sortable Convert Mailchimp API Ionic Website Node JS Foreign Key ANDROID_HOME Reset GET Ajax pngquant Number Example Month maatwebsite Flash Message Carbon Packages filesize() Excel scrollTop Letter Link Backup Form Validation league/flysystem-dropbox Multiple Control Animation DATE_SUB Plugins DB RSS Feed PHP Toggle Executed WHERE Query Artisan Attribute unicodeveloper/laravel-password Socialite Script Capitalize Artisan Command Limit User Agent validator.js Gmail file_exists() Upgrade Recursive voyager package AngularJS TrustAsHTML Filter clipboard.js Redirect Chart.js URL basename() Confirm Box Send ajaxComplete Progress Bar Manual Commit Class Captcha code Form Jquery Bootstrap maxlength plugin Directory Terminal Tutorial hasTable Ubuntu Facade Laravel Builder After Express Automatically Jquery Dialog Box Key Constraint execute query Dialog box Where In Query CloudConvert API Typeahead JS Version Datepicker Sub-Domain refspec Effect PostgreSQL array_map API HTML to PDF npm Components & Slots Request Popup Box Source Code refs 404 error page Global Variable PHPExcel apache2 CASE_LOWER Connection Modal Field Ionic framework Update typed.js plugin Sort Frontside Validation Custom str_replace Pagination Payment Gateway Apache Blade inject upload_max_filesize Paypal Payment Gateway auth()