roonnyy Posted November 15, 2008 Share Posted November 15, 2008 Guys could someone tell me how this is made? (i think opening hours highlight in right side->which change every day to right day in week) http://www.myacpl.org/branches/athens Is it done with php ? Link to comment https://forums.phpfreaks.com/topic/132815-solved-how-is-this-made/ Share on other sites More sharing options...
MasterACE14 Posted November 15, 2008 Share Posted November 15, 2008 what? Link to comment https://forums.phpfreaks.com/topic/132815-solved-how-is-this-made/#findComment-690726 Share on other sites More sharing options...
thebadbad Posted November 15, 2008 Share Posted November 15, 2008 Can be done with PHP, yeah. Simple example: <?php $days = array('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'); foreach ($days as $day) { $text = (date('l') == $day) ? "<strong>$day</strong>" : $day; echo "$text<br />"; } ?> Link to comment https://forums.phpfreaks.com/topic/132815-solved-how-is-this-made/#findComment-690728 Share on other sites More sharing options...
roonnyy Posted November 15, 2008 Author Share Posted November 15, 2008 THANKSSS Link to comment https://forums.phpfreaks.com/topic/132815-solved-how-is-this-made/#findComment-690735 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.