Showing posts from November, 2013
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…
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…
Every developer face these errors in there development carrier while resizing image. Actually all these errors are same and reason is also same of all are these errors . Reason is that GD library is not enable on your server .Means if you are using …
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…
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…
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 :…