admin

admin

PHP Shopping Cart with jQuery AJAX

In this article add to cart functionality work using ajax and php session,so add to cart work without page refresh ,with delete item from cart using ajax. Code Written in php and jquery easy logic work in three phase add,remove,and…

How to convert HTML to PDF in PHP

In this article we learn how to convert HTML code With CSS to PDF using PHP ,For HTML code to PDF conversion we use TC PDF library. HTML to PDF conversion is always a problem for PHP Programmers and all…

PHP usort() Function

The usort() function is used to sort an array by its values using a user-defined comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function. TRUE on success.…

PHP uksort() Function

The uksort() function sorts an array by keys using a user-defined comparison function. TRUE on success. FALSE on failure Tip: Use the uasort() function to sort an array by values using a user-defined comparison function. Parameter Description array Required. Specifies…

PHP uasort() Function

The uasort() function sorts an array by values using a user-defined comparison function. TRUE on success. FALSE on failure Tip: Use the uksort() function to sort an array by keys using a user-defined comparison function. Parameter Description array Required. Specifies…

PHP sort() Function

The sort() function is used to sort array elements. Elements will be arranged from lowest to highest when this function has completed. Tip: Use the rsort() function to sort an indexed array in descending order. TRUE on success. FALSE on…

PHP sizeof() Function

The sizeof() function is used to count the elements of an array or the properties of an object. This function is an alias of count(). The sizeof() function is an alias of the count() function. Returns the number of elements…

PHP shuffle() Function

The shuffle() function is used to randomize the order of the elements in the array. The function assigns new keys to the elements in array. Note: The function uses a pseudo-random number generator that is not suitable for cryptographic purposes.…

PHP rsort() Function

This rsort() function is used to sort an array in reverse order (highest to lowest). Note: If two members compare as equal, their relative order in the sorted array is undefined. TRUE on success. FALSE on failure Parameter Description array…

PHP reset() Function

The reset() function rewinds array’s internal pointer to the first element and returns the value of the first array element, or FALSE if the array is empty. Returns the value of the first element in the array on success, or…