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 | | 927 Viewer | Category : PHP
READ MORE

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 | | 38212 Viewer | Category : PHP Laravel
READ MORE

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

In this tutorial, i going to show you how to make real time chat message module using socket.io, redis, express and nodejs in Laravel 5. socket.io 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 | | 129133 Viewer | Category : PHP Laravel Ubuntu Node JS Socket.io Redis
READ MORE

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 | | 1641 Viewer | Category : Javascript jQuery
READ MORE

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 | | 1008 Viewer | Category : PHP MySql SQL MSSQL
READ MORE


Environment Rewrite Multiple Blocked CRUD Laravel Eloquent MySql DB::raw() Node JS bplist-parser FILTER_VALIDATE_URL ppa Automatically Draggable Function Validation toSql PHP toastr js IP Sitemap Bootstrap Plugin PostgreSQL Capitalize gravatar DATE_SUB Path Strings Google Chart Access DATEDIFF() bootstrap-multiselect plugin Version Undefined Terminal AngularJS Directive Bootstrap show password Plugin Script Mediafıre API XML Sort Bootstrap Confirmation js plugin getQueryLog Attribute Packages Windows Lavacharts Chart Repo milon/barcode Accordion unicodeveloper/laravel-password meta http-equiv tag Modular Array Sub-Domain Vue.JS After Update DB Statement csv file_exists() Linkedin API Issue Flash Message ixudra/curl composer package ajaxComplete Setup split refspec Empty array_map Links Fetch pngquant Trans Helper enableQueryLog Amazon S3 RSS Language Collapse thomaswelton/laravel-gravatar Plugins array_combine Solve pop() select2.js length basename() Top glob Toggle Behance API Laravel 5.3 Failed RAND() Global Variable Authentication Pixel Input Form Jquery Twitter Bootstrap thujohn/twitter package User Agent csrf_token Module Tracking Billing Paypal Integration Website Fullcalendar JS laravel-elixir Letter Server Image Upload Run Project Clear Query Builder Listener XSS uppercase PHP artisan json() Master Application softDeletes str_random() Sortable Cache Excel Directory FadeIn Linux Animation Frontside Validation gulp Image Gallery sven/artisan-view package away() Download Calculate SUM() Query SUBSTRING_INDEX() Ubuntu setTimeout() PayPal jQuery mCustomScrollbar Plugin Mailgun API