paul_wilson Posted July 30, 2005 Share Posted July 30, 2005 <?php $d=date("D"); echo " "; if ($d=="Fri") echo "Have a nice weekend!"; if ($d=="Mon") echo "ohhh no Mondayitis"; if ($d=="Tue") echo "have a nice Tuesday"; if ($d=="Wed") echo "Weekends nearly hear!"; if ($d=="Thu") echo "One day till the weekend!"; if ($d=="Sat") echo "Make the most of the weekend!"; if ($d=="Sun") echo "Go out, get waisted then go to work hung over! "; ?> hehe pritty simple but hey, im just starting :P First and only pixel thinger I made. Link to comment Share on other sites More sharing options...
____ Posted July 30, 2005 Share Posted July 30, 2005 if you posted the hello world script, i would've kicked you :P Link to comment Share on other sites More sharing options...
paul_wilson Posted July 30, 2005 Author Share Posted July 30, 2005 lol that cant be counted as a script... i actualy made one before that but i didnt show it cause it can be done is HTML just as easy. and its childish First and only pixel thinger I made. Link to comment Share on other sites More sharing options...
Lorddragonxx Posted July 31, 2005 Share Posted July 31, 2005 PHP Makes me mad sometimes.. When working with MySQL and PHP, it gets on my nerves. But, nice script for a first one :) Link to comment Share on other sites More sharing options...
Tempter Posted August 3, 2005 Share Posted August 3, 2005 That is good for a first script. Mine was a hello world type... You should get the book Learning PHP 5(O'reilly) if you want to learn alot more. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now