doug Posted March 30, 2009 Share Posted March 30, 2009 I have this snippet: // New Year's Eve else if ($today == "December 31, $year"){ $logo_strip = str_replace('.swf', '', $logo_newyearseve); if (file_exists("$logo_path/$logo_newyearseve")) { echo "<script type='text/javascript'> AC_FL_RunContent( 'type','application/x-shockwave-flash','width','$fl_width','height','$fl_height','title','$fl_title','movie','$logo_url/$logo_strip','quality','high' ); </script> <noscript><object type='application/x-shockwave-flash' data='$logo_url/$logo_newyearseve' width='$fl_width' height='$fl_height' title='$fl_title'> <param name='movie' value='$logo_url/$logo_newyearseve' /> <param name='quality' value='high' /> Logo </object></noscript>"; } else { echo "$flashdefault"; } } // Default Logo else { echo "$flashdefault"; } I would need it to work within mutiple dates, example: else if ($today == "December 31, $year") I need something like: else if ($today > "December 25 < December 26, $year") 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.