Search found 2 matches

by wonderaz
Tue Jan 09, 2007 4:01 am
Forum: PHP - Code
Topic: php(random chosen)
Replies: 1
Views: 794

php(random chosen)

Hello I have an PHP exercise question like below: Write a XHTML document to that includes an anchor tag that calls a PHP document. Also write the called PHP document, which returns a randomly chosen greeting from a list of five different greetings. The greetings must be stored as constant strings in...
by wonderaz
Tue Jan 09, 2007 3:47 am
Forum: PHP - Code
Topic: array(find average and median)
Replies: 2
Views: 430

array(find average and median)

Hello....

I need to find out the average and median of the parameter array

I only manage to find the total of that array by using array_sum()
Can anyone please give me idea on how to create a function to solve my problem?

Thanks :)