itoctopus wrote:
I think what you need is simply something like this:

function get_day($int_day){
$arr_day_of_week = array('1'=>'Sunday', '2'=>'Monday', '3'=>'Tuesday', '4'=>'Wednesday', '5'=>'Thurdsay', '6'=>'Friday', '7'=>'Saturday');
}

echo(get_day(1)); //will print Sunday

Hmm, not so much. Methinks your function should return something to get the desired effect.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to