Latest Post

How to remove specific value from php array?

When i was working on my code PHP project, at that time i need to remove specific items value from my array. i did google search and solve that but i would like to share in my site how to remove value from array. so, let's see how to use: <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $myArray = array('php', 'laravel', '.net', 'java', 'c#', 'javascript'); $myArray = array_diff($myArray, array('laravel')); print_r($myArray); </pre>

By Hardik Savani | March 14, 2016 | | 1095 Viewer | Category : PHP

How to create Event for Mail sending in Laravel 5.2?

Events provides a simple observer implementation, allowing you to subscribe and listen for events in your application. In this posts you can learn how to create event for email send in your laravel 5.2 application. event is very help to create proper progmamming way. First create event using bellow command. <pre class="prettyprint lang-php">php artisan make:event SendMail</pre> Ok, now you can see file in this path <strong class="path">app/Events/SendMail.php</strong> and put bellow code in that file. <strong>app/Events/SendMail.php</strong> <pre class="prettyprint lang-php"> namespace App\Ev.....

By Hardik Savani | March 13, 2016 | | 44229 Viewer | Category : PHP Laravel

Laravel 5.2 chat message module using, redis, express and nodejs from from scratch.

In this tutorial, i going to show you how to make real time chat message module using, redis, express and nodejs in Laravel 5. through we can make real time chat module in our Laravel 5 application. i show you from scratch because you can install nodejs and its packages etc. in this post you can undestand and learn step by istalling and how to write code. You have to follow the step and implement real time chat module in your application. So basically you can see bellow preview of our chat message module. <strong>Preview:</strong> <img width="100%" src="/upload/socketio.png.....

By Hardik Savani | March 12, 2016 | | 149709 Viewer | Category : PHP Laravel Ubuntu Node JS Redis

How to remove undefined value from jquery array?

If you have jquery or javascript array with lots of undefined value and you want to remove all undefined value from array. you can remove undefined items from your array without using each loop you have to just use filter, I would like give the example how to remove undefined element from javascript array. so, let's see bellow example. <strong class="example"></strong> <pre class="prettyprint lang-javascript lang-html"> <script type="text/javascript"> var obj = ['3','3','5',undefined,'hi']; obj = obj.filter(function(e){return e}); console.log(obj); </script> </pre>

By Hardik Savani | March 12, 2016 | | 1939 Viewer | Category : Javascript jQuery

Sql function remove numeric characters from column example

Mysql custom fucntion is a very prety and intresting concept. In this posts i want to create one custom mysql function for remove numeric characters from table field value. this function through you can also remove numeric characters from string in mysql. in following sql query fire in your mysql or mssql database and check how it works. So, lets create function and how to use in select statement in sql query. <strong class="step">Create removeNumber function:</strong> <pre class="prettyprint lang-mysql"> DROP FUNCTION IF EXISTS removeNumber; DELIMITER | CREATE FUNCTION removeNumber( str CH.....

By Hardik Savani | March 12, 2016 | | 1177 Viewer | Category : PHP MySql SQL MSSQL

Facebook API Numeric Import Laravel Laravel 4 parse Remote Jquery UI Parameters Twitter OAuth Flash Message intervention/image Mail Google Chart Route characters maatwebsite Laravel 5 datatables glob Failed slice() Snippet Letter inner join Month Local daterangepicker MVC csv Captcha code Request Barcode Number dompdf away() Laravel 5.4 - Markdown Mailables Confirm Box Phonegap Technology setInterval() orderBy Recursive JS Paypal Integration Update Object to Array New Features helper Paytm Fetch Amazon S3 Foreach Git Listener Lavacharts google recaptcha code Codeigniter 3 Character AngularJS Filter Linux Check MassAssignmentException Zip meta http-equiv tag CASE_LOWER Jquery Plugin SMTP Sublime text 2 str_replace Repo Attr Google OAuth Modal Prompt modal gravatar php.ini DB Statement Environment clockface plugin CRUD Chat String FadeIn word-wrap Laravel 5.2 Tag Manager plugin Record Particular Validation Base URL Interface file_exists() Apache Dropzone.js Master phpmyadmin Remember me encrypter Laravel Factory virtual host Bootstrap Notify Plugin Linkedin API React JS Permission Laravel 5.4 Login With FB voyager package Force Zoho mail Issue Tutorial execute query array_change_key_case Database Seeder Animate Where Not In Query Application Current Admin Bootstrap Theme Redis tagsinput.js public_path php artisan serve Contact US Form Ionic framework croppie.js Send Old Laravel Passport Query Builder Dynamic Dependant Dropdown ANDROID_HOME Parsley toSql Authentication Behance API Loading Schema Manual Express Autocomplete phpword Log Activity Dialog box Website PHPExcel COUNT() Attribute