Showing posts from November, 2013

How to Delete first or last index and value of an array using PHP

If you want to delete first or last element of array .Then you can use two very useful php functions 1- array_shift() --- It delete the first index and value of an array. 2- array_pop() --- It delete the last index and value of an array. Example…

How to get only not null array index and value in php

I want to count the total number of element of an array.But my problem is that when i am counting the element of array using count() or sizeof() function then its also count that index which value is empty . My array is below :-- Array ( [sea…

Auto compleate property of form, textbox and textarea

Every time when you creating and submitting a form then you will see that form fields are filled every time after submit form.Actually it takes data from brouser catche memory.Some time you don't need that data for security reason or may be any o…

Resize your Image using simpleImage class in php

If you have problem to resize your  image in php then using this simple class file and resize your image very simple. What you need to do: (a)-You just need to copy the entire code below and  paste it into a file name Simpleimage.php . class Si…

Change Case Of Table Column Using Sql

In some situation you want to change case (Upper case to Lower case or Vice-Versa) of any table column data of your database using sql then LOWER() or  LCASE()  and UCASE() or  UPPER() is very useful sql keyword to fulfill your need.  HOW TO USE :…

Load More
That is All