To perform where clause on comma separated string/values, MySQL has an inbuilt function called FIND_IN_SET which will search for values within a comma separated values.…
Leave a CommentCategory: PHP / MySQL
Laravel provides pagination for Eloquent results out of the box, but for custom data, we need to do the pagination manually. In this tutorial, I’ll…
13 CommentsI received a tutorial request from my reader that asked me how to access CI’s base URL inside the JavaScript/external JavaScript files. Editing base URL…
Leave a CommentLaravel5.3 is coming with following new features, 1. Rollback one migration 2. Blade Foreach Loops (new $loop variable) 3. Eloquent Collections are cleanly serialized and…
Leave a CommentSlim is a full-featured, open-source PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. It comes with a sophisticated…
90 CommentsIn this tutorial, you will learn how to use MySQL IF function. MySQL IF function is one of the MySQL control flow functions that returns…
Leave a CommentThe router component allows you to define routes that are mapped to callback handlers that should receive the request. The Slim Framework’s router is built…
Leave a CommentIn Laravel world, a facade is a class that provides access to an object from the container. Laravel “facades” serve as “static proxies” to underlying…
3 CommentsSlim is a PHP micro framework that helps you write simple web applications and APIs quickly. It comes with a sophisticated URL dispatcher and middleware…
1 CommentSlim is a full-featured, open-source PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. It comes with a sophisticated…
8 CommentsSlim lets you group related routes. Route groups allow you to share route attributes, such as middleware or URL segments across a large number of…
Leave a CommentThis tutorial describes how to use laravel’s elixir to run Gulp tasks. Gulp is a javascript task runner, it keeps things simple and makes the…
Leave a CommentThis post shows the possible ways to remove specific element from array based on value of the element. Removing specific value Using array_diff() Using this…
Leave a CommentThis tutorial will describe the usage of the PHPExcel library to generate an Excel file from a PHP array. Usage of PHPExcel library is very…
5 CommentsThis article shows how to read RSS feeds using php script. If you are reading this post you might know about RSS feeds and it’s…
Leave a Comment