Latest Post

How to check undefined, empty and null in JavaScript/JQuery ?

If you are working on jquery and However you want to check variable is undefined or not then you can easily check by typeof operator, which is simple, fast and cross-platform: <pre class="language-javascript"> if(typeof i == "undefined"){ alert('undefined'); } </pre> If you are working on jquery and However you want to check variable is empty or not then you can easily check by compare with empty string: <pre class="language-javascript"> if(i == ''){ alert('Empty'); } </pre> If you are working on jquery and However you want to check variable is null or not then you can easily che.....

By Hardik Savani | January 12, 2016 | | 613 Viewer | Category : Javascript jQuery
READ MORE

How to get last executed mysql query in laravel ?

If you are working on laravel framwork and you use query builder of laravel 5. but you want to get last executed mysql query from laravel. If you are working on laravel 5 then you have to first enable query log that way it can be store query log. At last getQueryLog() through you can get last executed query. I give you example of how to get last executed mysql query. you can use example as following example. <pre class="language-php"> public function querylog() { DB::enableQueryLog(); $item = Item::find(2); $last_query = DB::getQueryLog(); print_r($last_query); } </pre> Try this......

By Hardik Savani | January 11, 2016 | | 1273 Viewer | Category : Laravel MySql
READ MORE

Mysql procedure with pagination in laravel 5?

You are working on laravel with mysql database. you had created mysql procedure for get data and you want to call procedure with pagination in laravel 5 then you can not directly make pagination as laravel document.If you are using directly MySQL stored Procedure in your controller, model or repository and you want to give pagination like this way : <pre class="language-php"> $data = DB::select(DB::raw('CALL hardik("hari")'))->paginate(5); </pre> This way you found error in your Laravel 5 website. we can't give directly this way pagination because your procedure will get all the data fr.....

By Hardik Savani | January 11, 2016 | | 3074 Viewer | Category : Laravel MySql
READ MORE

How to set URL without http of Other site in Laravel?

you are working on laravel php framework and you want to give any other site URL. we can easily give url using a tag like href="https://www.facebook.com" but if you are work on laravel then it can't redirect on given URL because laravel always redirect on current site, but we have solution of this problem. How to set URL without http or https of Other site in Laravel Website?, i describe as under. For example if you want to give facebook url then you can give this way : <pre class="code language-html"> <a href="//facebook.com" target="_blank">FB</a> </pre> Try this.....

By Hardik Savani | January 10, 2016 | | 766 Viewer | Category : Laravel
READ MORE

How to create responsive menu in html/PHP ?

Now i am going to show how to create responsive menu in your html website. i will show you how to create responsive menu using css, html and jquery. we have to also use media query. it is a pretty simple to create responsive menu. now i listed two file one is html and second is css file this two file make a simple responsive menu and you can easy to change and modification in in this file. it will easy to integrate with php, .net or any php framework. how to create a responsive menu bar in html, responsive menu bar jquery example, responsive menu using css and jquery, responsive menu with css.....

By Hardik Savani | January 9, 2016 | | 915 Viewer | Category : PHP HTML CSS jQuery
READ MORE


Ckeditor Chart 404 error page Client side validation Codeigniter 3 Issue DATE_SUB Sublime text 2 Zip Where In Query Installation Route Technology Zoho mail Bootstrap-lightbox Plugin croppie.js Opencart Special Tracking guzzle http client Redirect MSSQL Configuration Progress Bar PostgreSQL Null Components & Slots Vue.JS thujohn/twitter package File Upload Clear Admin Panel clipboard.js Lightbox Path maatwebsite array_map mod_rewrite Codeigniter WHERE Query Strip Tags Validation json() Append phpmyadmin CURL Bootstrap Notify Plugin hasTable milon/barcode Contact US Form Remember me Collapse datatables Example strpos Sortable Local SMTP Page Express Socialite Linkedin API REST Nodejs clearbit API Hard Image Upload Jquery UI Location Loop date_format() Google OAuth Laravel 5.2 Sub-Domain Segment Base URL Cordova Directory node.js ANDROID_HOME Master Billing bootstrap-multiselect plugin After helper Datetimepicker Laravel 4 Record MassAssignmentException Sublime text 3 league/flysystem-dropbox csrf_token php.ini Custom Command Now Twitter Bootstrap Mysql Concat Ubuntu Jquery Modal New Features Confirm Box Setup Twitter API select2.js google recaptcha code Character word-wrap Field Elasticsearch PHPUnit Library Key SEO Foreign Key Enable Calculate Magento DATEDIFF() Accordion jquery.email-autocomplete.min.js Barcode Login With FB Executed Run Project Highlight JS Query Builder Element Join throttle Thumbnails Git Email Verification KCFinder clearInterval() File Module Facebook API LIKE Query Cache roumen/feed package public_path Demo Current Page Controller file_exists Form JS Plugin Repository Pattern Ajax Request bootstrap-growl pngquant