Monthly Archives: May 2017

Tichnique Advance Search

– We should create procedure in database(Table Function that result as the table) Example in SQL Server USE [ICEPOS] GO /****** Object: UserDefinedFunction [dbo].[TBL_Web_Search] Script Date: 5/19/2017 3:20:07 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION … Continue reading

Posted in Database | Leave a comment


$items = Item::join(‘Department’,’Item.DepartmentID’,’=’,’Department.ID’) ->select(DB::raw(‘CONCAT(Item.Name, Department.Name) as user_count’)) ->where([‘Item.Active’=>1,’Item.WebsiteShow’=>1])->get();

Posted in Laravel | Leave a comment

jQuery Plugin For Creating QR Codes On Your Website – ClassyQR

lassyQR is a very simple jQuery plugin that makes it easy to create QR Codes (Two-dimensional Barcode) from different kinds of data on your website or application. How to use it: 1. Load the latest version of jQuery library from … Continue reading

Posted in Jquery | Leave a comment

Flexbox Safari bug (flex-wrap)

Ask Question up vote 17 down vote favorite 7 I don’t know why but Safari always misplaces the elements. Safari: enter image description here Chrome (&others): enter image description here Code: Name Description .flexthis{ display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; … Continue reading

Posted in Cascade Style Sheet | Leave a comment

Social Facebook Login

Reference URL: Route::get(‘/facebook/login’, function(SammyK\LaravelFacebookSdk\LaravelFacebookSdk $fb) { // Send an array of permissions to request $login_url = $fb->getLoginUrl([’email’]); // Obviously you’d do this in blade 🙂 echo ‘Login with Facebook‘; }); // Endpoint that is redirected to after an authentication … Continue reading

Posted in Laravel | Leave a comment

how to center and Crop an image to square with CSS


Posted in Cascade Style Sheet | Leave a comment