I would do like this:
$captions = array(
1=>'Hello, it\'s Monday',
2=>'Ok, Tuesday',
3=>'Still Wednesday',
4=>'Already Thursday'
5=>'Now it\'s Friday',
6=>'Saturday, party time!',
7=>'Ohh, Sunday');
and then just echo $captions[$dayOfWeek]
__________________
onPHP5.com -
PHP5: Articles, News, Tutorials, Interviews, Software and more