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

Search In

How to set increment variable in twig?

Hello Friends This PHP tutorial will help you to implement a set of incremental variable in twig which you can use to show listing in twig with numbers in the first column. This will include defining twig variable and increment/decrements variable v

How can we know the count/number of elements of an array?

Hello Readers In php we count the number of elements of an array by two ways: 1. sizeof() 2. count() sizeof() sizeof() function is an alias of count() and it is used to count the elements of an array. Syntax of the function sizeof(): sizeof(a

Paypal verify Card details for make payment

Hello guys, Its really helpful for integration Paypal in PHP to verify card details. To integrate it, first you have to download the PHP-Paypal SDK, below is the direct link https://github.com/paypal/PayPal-PHP-SDK/releases // 1. Autoload the SDK P

PHP functions for applying user defined functions on array values.

There are two predefined functions in PHP for applying user defined function on each element of an array. 1. array_walk() : array_walk() applied a user function on each element of an array. It returns TRUE on success and FALSE on failure. The user

array_fill() vs array_fill_keys() in PHP

This tutorial explains the difference between array_fill() and array_fill_keys() functions, which are used to initialize or fill an array with values. The main difference is in the method of filling values in array by both functions. The details of e

Data Validation in Cake PHP

Data validation becomes an important part of any of the application. It helps to make it sure that the data input by the user is proper or not. Defining the validation rules in any application makes the form handling easier. Validation differs from

Extract method in PHP

Sometime we may need to use the same variable name that you are using in the query or simply in an associative array. Lets say you have an associative array : $arr = array( 'totalLimit' => 50, 'limit' => 10 ); The usually what we do is to f

Pagination In Wordpress

We can add pagination to our page. In wordpress we can split multiple post in different pages. We can set how many post per page we want When multiple loops are used in a theme template file only one loop, the main loop, can be paginated. <?ph

cakePHP model side validation

Data validation plays an important part in any of the application. It is very important to make ensure that user has input valid Fields or not. For example, passwords are at least eight characters long or more,  User Names ,emails are unique,pho

CakePHP find conditions

Find is the  data-retrieval functions in cakephp. Below is the list of CakePHP find conditions :- Name Default Description    type   'first' it can be 'all', 'first'

1 23 39
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: