Latest Post

How to convert Object into Array in PHP?

Whenever you need to convert object to array in your php project then you can do that using (array). It is a pretty simple example to convert php object into array that way you can use array. So, let's see the following example. <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $myObject = new MyClass; $myObject->id = 100; $myObject->title = "posts"; $myObject->description = "this is posts"; $newArray = (array) $myObject; print_r($newArray); </pre>

By Hardik Savani | March 25, 2016 | | 1117 Viewer | Category : PHP
READ MORE

Laravel 5 custom pagination view example

laravel default also provide pagination view using bootstrap design like next and previous button and number page with link. but it is a very comman and generally used by most of developer. If you want to change it using Presenter class of laravel. you can set your own custom view for your pagination layout. In bellow i give you the example of i added first, last, next and previous button and main banifit is that you can easily modify that view and link. so let's see the preview of image layout of pagination. <strong class="preview">Preview:</strong> <img width="100%" src="/upload/laravel_pa.....

By Hardik Savani | March 23, 2016 | | 18219 Viewer | Category : Laravel
READ MORE

How to remove particular value from jquery array?

When i was working on my code PHP project, at that time i need to remove specific items value from my javascript array. i did google search and solve that but i would like to share in my site how to remove value from javascript array. so, let's see how to use: <strong class="example">Example:</strong> <pre class="prettyprint lang-js"> var languages = ['php', 'laravel', '.net', 'java', 'c#', 'javascript'] var deleteLanguage = 'laravel'; languages = jQuery.grep(languages, function(value) { return value != deleteLanguage; }); console.log(languages); </pre>

By Hardik Savani | March 23, 2016 | | 779 Viewer | Category : Javascript jQuery
READ MORE

Laravel 5 clear cache from route, view, config and all cache data from application

In this post i would like to share my experience and solution. when i was working on my laravel e commerce website with gitlab. I was fetching one issue suddenly my view cache with error during development. i did try lot to refresh and something other but i can't see any more change in my view, but at last I did resolve my problem using laravel command so, let's see i added several command for clear cache from view, route, confir etc. <strong class="example">Reoptimized class loader:</strong> <pre class="prettyprint lang-php">php artisan optimize</pre> <strong class="example">Clear Cache fac.....

By Hardik Savani | March 22, 2016 | | 60822 Viewer | Category : Laravel
READ MORE

Pixel tracking code php example

pixel tracking technology is use when you need to give your commerce websites or something else that you need to give that site banner or add on another website. we can use pixel tracking technology because which can help to count impressions. but if you want to use pixel tracking technology code in your wesite than you can do following way. In bellow example i did craete one banner image for my site products add. i will give html code for display my site product banner in his site. so in this example i use pixel tracking technology for the impressions. so first lets give following code like .....

By Hardik Savani | March 21, 2016 | | 3902 Viewer | Category : PHP Laravel
READ MORE


Chart Admin Bootstrap Theme Run Project File Email String Request Custom Command Composer Laravel 5.5 refspec Multi Auth Strings Function SUM() File Upload View execute query Autocomplete toArray() intervention/image npm Allow Xampp Technology Module Windows select box search Ajax Linkedin API mac HTML to PDF SMTP gmaps.js Append Permission Modal Capitalize Nodejs Validation Effect PingPong bootstrap-progressbar.js Rewrite setTimeout() DB Statement XML nl2br bplist-parser Example Scout Package DATE_SUB User Agent CURL Express Fetch Trigger Opencart Datepicker Loop Character Jquery Dialog Box Confirm Box REST Branch validator.js auth() dompdf virtual host Behance API Database Calculate MVC Progress Bar User throttle Attribute Reset Paypal Payment Gateway Folder Access gulp Empty SUBSTRING_INDEX() php.ini orderBy Repository Pattern php artisan serve COUNT() Lavacharts Vue.JS Scroll Laravel Passport Jquery UI Laravel Resource KCFinder Components & Slots Bootstrap Tokenfield Plugin summernote jquery.email-autocomplete.min.js MySql popupMultiSelect plugin Codeigniter 3 Schema Recursive roumen/feed package Send Botdetect Captcha Plugins xoxco tags input Bootstrap Plugin ajaxStart Laravel 5.4 no-captcha strtolower voyager package Terminal CASE_LOWER Now AngularJS Filter SweetAlert Plugin New Features Upgrade API array_combine Version Laravel 5.4 - Markdown Mailables clipboard.js max_file_uploads Event split Object to Array Chart.js Form Jquery Draggable ACL Download URL Gmail Blocked Mailchimp API Commit Moment JS Request Method Limit Inserted Id refs Sub-Domain Base URL Interface