Tag Archives: Application Services

PHP Mail Function

Send Mail in PHP PHP provides inbuilt function known as mail() function which allow you to send mail directly from your program. This function returns TRUE on success and FALSE when failed. Mail function accept 5 parameters like to, subject, message, headers and  extra parameters. Syntax mail(to,subject,message,headers,parameters) Name Required Description to Yes Mail Address of the receiver or receivers subject Yes Subject… Read More »

PHP Array All Functions

PHP Array Functions The following list show the different function used in an array. – array_change_key_case : Changes all keys in an array – array_chunk : Used to split an array into pieces. – array_column : Used to return the values from a single column in the input array – array_combine : Used to creates an array by using one array for keys and another for its values. – array_count_values : Used to counts all the values of… Read More »

PHP Array Sort Functions

The elements in an array can be either be sort ascending, descending, alphabetical and numerical order. Lets discuss the different sort function used in PHP. – sort() – used to sort arrays in ascending order. – rsort() – used to sort arrays in descending order. – asort() – used to sort associative arrays in ascending order as per values. – ksort() – used to sort associative arrays in ascending order as per key.… Read More »