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

Search In

Calculate sum and product of all values in the array

Many times we need to calculate sum or product of values stored in an array. The most common way is to calculate sum or product by using for or foreach loop. For example we have an array with some numeric values, now we want to calculate the total su

New Feature in Php 7

One of the New Feature of PHP 7 is Null coalescing operator :  Generally we use to check variable value existence and if it does not exist then we use a default value for that.  Normally for these type of small checks we use Ternary opera

How to show related posts in WordPress without using plugin

Hi, As we see in most of the WordPress websites that each single blog post is having related postsat the end of the content. It is the technique to engage the visitor in the website by giving them suggestions for reading another alike blog posts. Th

Php: How to convert currency using Google Finance ?

In this blog I am going to tell you how to convert currency using Google Finance. Example: you want to convert Indian Rupee to American Dollar i.e. INR to USD then you can convert it using following url: http://www.google.com/finance/converter?a=$amo

Multiple File Upload in cakephp

Multiple File Upload in cakephp by one user and save the images name  in one column in database :   Hello readers, This is a small blog on how to upload multiple file in cakephp. This is very simple and useful code, hope this code will be

Discussion on set up cron in Ubuntu

Hi Reader's, Welcome to FindNerd, today we are going to discuss on set up cron in Ubuntu. Sometimes, it is needed to set Cron jobs in a web application for sending push notification on a particular action and to send notify message to start any

submit php form using xmlhttprequest ?

i have this code for submitting an online exam and i submit this page using javascript xmlhttprequest(pure javascript no Jquery) and i have three parameters the question id arrays and answers and the numbers of rows      <?php r

Difference between getModel() and getData() in magento

getModel() method :   Mage::getModel() will create a new instance of an object each time even such object exists in configuration. getModel will always return a new instance of the requested model every time.   For example:-   

How to hide/display different actions in an “Admin Panel” for a project in cakephp

After we have learned how to create an Admin Panel for a project in cakephp see the link. Now in this tutorial we will learn how to enable/disable different actions such as add,view ,edit, delete, records in a table say “posts” or increase/decrease t

How to implement captcha in cakephp ?

A CAPTCHA is a system that ensures sites against bots by producing and evaluating tests that people can pass however current PC programs can't. A CAPTCHA (an acronym for "Completely Automated Public Turing test to tell Computers and Hum

1 22 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: