Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Laravel Framework

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

How to disable user registration in Laravel 5

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

Sort php array by particular column

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"

How to implement cron job using laravel 4.x

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

How to change the Product Price at the time of adding it to cart in Magento?

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

Difference between getSingleton() and getModel() 

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

how to upload & save images into database In CakePHP

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 Statements in Mysql with PHP

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

How to Connect multiple database in WordPress?

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

Latest and Dominating PHP Development Trends in 2021

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

1 26 55
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: