Checking a checkbox with jQuery?

Check if the checkbox is checked There are several ways to get to work out if a checkbox is checked or not with jQuery, and here a couple of alternatives. Each will return true if it’s […]

Laravel 5 Eloquent lazy eager loading

Sometimes you may need to eager load a relationship after the parent modal has already been retrieved. For Example this may be very useful if you need to dynamically decide whether to load related models or not, or in […]

Getting all tables inside a database using Laravel

Here is the simple code snippet to get all the tables under the database in laravel framework.

I hope you like this Post, Please feel free to comment below, your suggestion and problems […]

Where NOT in Eloquent join Relation

Here is the simple laravel’s eloquent code snippet to get results in a table when there are no results for the relationship. I have two tables called users and accounts. each account belong to one user ,some users […]

How to change app name in Yii2

Yii2 Default application name is “My Application”. You can change this name by editing the config/main.php. Just add the application name property in Config Array. NOTE: If you’re using the advanced app […]

How to make a drop down list in yii2

In this post, I would like to show you how to create a drop-down list in yii2. This tutorial will help you to display the array data or model data in the drop-down list. I am using activeForm. Drop down list syntax


Redirect a page using jQuery?

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face – we are here to solve your problems.ArjunI am Arjun from Hyderabad (India). […]

Type Identifiers Functions in PHP

Here is the list of type checking function in PHP. Function Description is_array() Check for array type is_bool() Check for true or false type is_float() Check for floating point number type is_integer() Check for integer […]

How to read a file line by line in php

You can use the fgets() function with combination of fopne() funciton to read the file line by line.

Using PHP5 spl iterators, object oriented style. I […]

The Template Method Pattern

Template pattern comes under behavior pattern group, as it’s used to manage algorithms, relationships and responsibilities between objects. This is an easy Pattern to understand, Let’s dig in, In Template pattern, […] Protection Status