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 | | 462 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 | | 1037 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 | | 1823 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 | | 558 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 | | 642 Viewer | Category : PHP HTML CSS jQuery
READ MORE


Vue.JS typed.js plugin Pixel colorpicker Website Typeahead JS PingPong Prompt modal whitespace Chosen JS Artisan Stripe FadeOut chmod Interface Google Chart Animate select2.js Upgrade json() ID no-captcha Demo CURL Attribute Frontside Validation Popup Box Query PHPExcel User Control filesize() Special Issue Bootbox.js Nodejs mod_rewrite helper away() gravatar Server gmaps.js Twitter Bootstrap Node JS Month Trigger Strings HTML to PDF Strip Tags JSON ajaxComplete File Upload yajra/laravel-datatables-oracle Directory Snippet timestamps lowercase clearbit API Environment URL node.js Paging Flash Message Socket.io phpmyadmin Artisan Command Remember me refs Access Homepage Email validator.js Migration Interfaces Instagram API laravel-elixir Laravel Cashier Email Verification Update datatables Dropbox API daterangepicker scrollTop GET Ajax Foreign Key Terminal hasTable Backup Sort Master Datetimepicker Fetch Botdetect Captcha Redirect Facebook API execute query Query Builder Event FILTER_VALIDATE_URL Parameters FIND_IN_SET() Technology Download Ckeditor guzzle http client Zoho mail bootstrap-progressbar.js csv Clear Payment Gateway Localization tagsinput.js Jquery UI jquery.lazyload.js Captcha code thomaswelton/laravel-gravatar First Highlight JS Setup Image Upload Parsley Accordion MassAssignmentException Dropzone.js Mail Import file_exists SUBSTRING_INDEX() glob Number Cross Tracking Sublime text 2 MVC csrf_token preg_match DB Module Cache milon/barcode Subscription Request Method SMTP PayPal Generate Cordova str_replace Laravel 5.2 POST Ajax str_random()