
Search In
Recently Laravel framework has been launched in the market as I am not familiar with it, because still I have not worked on this framework but it seems to be one of the best MVC framework, below link provides you an average of mostly used/popular fra
Laravel 5 provides built-in user registration and login functionality which allow developer to easily integrate both functionality in their application. But some times laravel developer wants to disable the user registration or restrict user for regi
Hello friends,
Most of time we need to sort php array as ascending order or descending order but some case we need to sort array by particular column.
For Example:
Given Array:
$inventory = array(
array("type"=>"fruit"
A cron job is time-based job scheduler in Unix-like computer operating systems. This is normally used to schedule a job that is executed periodically or in simple word we can say when we want to execute any command automatically after some time then
In Magento sometimes we are required to apply our own custom price on the products while adding to the cart.
To do so we can work upon the event checkout_cart_product_add_after.
Lets see how we can do it:
1. Create a module with names
Mage::getSingleton() :
The getSingleton() method first checks for existence of the instance of the same class in the memory. If it finds the instance then it will return the same object from the memory. and if not than it will create a new i
In this post, I am gonna give an example to upload Images and store its file path in the database with the help of custom component.
Example:
Add this UploadComponent class in app/controller/component folder.
<?php
class UploadComponent e
Prepared Statement is the feature which allows us to write a set of sql statement in which some fields values are unspecified. The unspecified field are labeled with the question mark as "?".
for example :
INSERT INTO TABLENAM
Hello readers, today I guide you "To Connect Multiple Database in WordPress".
In WordPress, wpdb is the class which handles all the database related tasks. In arrears WordPress installation we have $wpdb object of that class using whi
We have already started with 2021, and all we can expect is a year of technology and up-gradation. Talking about PHP, it is one of the highly preferred server-side programming languages. Being a platform-independent and extensible programming languag
