\n";
print "Get Your Horoscope For Today, ".date('l j F Y')."\n"; print " | |
| \n";
print " Capricorn (Dec 22 - Jan 19)\n"; print " Aquarius (Jan 21 - Feb 18)\n"; print " Pisces (Feb 19 - Mar 20)\n"; print " Aries (Mar 21 - Apr 19)\n"; print " Taurus (Apr 20 - May 20)\n"; print " Gemini (May 21 - June 21)\n"; print " Cancer (June 22 - July 22)\n"; print " Leo (July 23 - Aug 22)\n"; print " Virgo (Aug 23 - Sept 22)\n"; print " Libra (Sept 23 - Oct 22)\n"; print " Scorpio (Oct 23 - Nov 21)\n"; print " Sagittarius (Nov 22 - Dec 21)\n"; print " | \n";
if($sign=$_GET['s']){
$hs=new ahoroscope();
$h=$hs->getHoroscope($sign);
print "Horoscope for $sign: $h"; }else{ print "This is an example script of how to use the ahoroscope class. Just\n"; print " click on one of the links to get your horoscope for today from \n"; print " the http://www.astrology.com/ website."; } print " |