
Search In
Hello Readers, Here is a small example which will explain how to show product views count in magento.
Add below line of code in view page:
Path: app/design/frontend/default/currentheme/template/catalog/product/view.phtml
<?php
$id = $id=$_help
Here we will learn how to replace all the letters of a string by any wild character except the first and the last one with the help of the following string function in php.
strlen(string) : This function returns the length of the string if successfu
Hello Reader's ! In this blog you will learn how to create store functions using CREATE FUNCTION statement in Mysql.
In Mysql we can create user user defined functions that returns a valid value. To process and manipulate data Mysql Stored funct
CakePHP is an open source web development framework for PHP 5.4+. It is a critical programming framework used by web developers which is completely based on MVC structure, a very powerful used to build complex web applications.
Hello Reader!
If you want to read a Excel file in PHP then you can learn the library code below
read('excel_file.xls'); // reads and stores the excel file data
// Test to see the excel data stored in $sheets property
var_export($excel->sheets
Hello Reader's you might have seen the coding standard with the common syntax | and || is used. These are the syntax used for checking the conditions and sub conditions. The first | is called as bit wise Operator. It is used to make the condition be
A function that call itself is known as *Recursive Function*. Recursive function keeps calling itself. We have to set a condition that will stop it, otherwise it will run infinitely. This condition is known as a base case. Basically, base case tells
In PHP if we are working on database and it is required to limit the data we want from the select query we can do it by appending a clause in the query. This can be helpful in pagination etc in our page.
Lets take an example in which we are required
Now there are n number of site which we have to make multilingual. In Laravel we have the facility to make
our site multilingual. In Laravel 4.x we will also make multilingual routes.There are few steps we have to follow to create multilingual transl
This tutorial will help you to learn how to implement pagination using cakephp framework
Requisite:
Create a database
Insert some data in the table
Controller say “UsersController” to write the logic.
Model for the Users table
View to display t
