Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Thanked 0 Times in 0 Posts

    Need help using PERL to create a mySQL query to output an HTML calendar.

    Message deleted
    Last edited by aparikh; 02-28-2011 at 10:56 PM.

  2. #2
    Master Coder
    Join Date
    Dec 2007
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by aparikh View Post
    Need help using PERL to create a mySQL query to output an HTML calendar.
    Looking for help with the following. Any help would be greatly appreciated and thank you in advance for your help.

    Create a PERL script. Use DBI that will list 30 consecutive dates with today's date as the 15th date in a table. The 15th date should be in bold. Enter the dates in a specific format. The month should be in English and the year should have four digits. The table should use the HTML table tag with Sunday as the first column. The date functions of PERL should Not be used! Everything should be done in the mySQL query. Note: for this objective, there is no need to create any tables in mySQL! You are simply using the functions of mysql in your DBI mysql query.

    For example, if today's date was 12-25-1999, then the following would be listed:

    Sunday Monday Tuesday Wednesday Thursday Friday Saturday
    Oct 11, 2008
    Oct 12, 2008 Oct 13, 2008 Oct 14, 2008 Oct 15, 2008 Oct 16, 2008 Oct 17, 2008 Oct 18, 2008
    Oct 19, 2008 Oct 20, 2008 Oct 21, 2008 Oct 22, 2008 Oct 23, 2008 Oct 24, 2008 Oct 25, 2008
    Oct 26, 2008 Oct 27, 2008 Oct 28, 2008 Oct 29, 2008 Oct 30, 2008 Oct 31, 2008 Nov 1, 2008
    Nov 2, 2008 Nov 3, 2008 Nov 4, 2008 Nov 5, 2008 Nov 6, 2008 Nov 7, 2008 Nov 8, 2008
    Nov 9, 2008
    this is a homework?

    1.5) No homework assignments - Do not post your entire homework assignment and request that other members do it for you. This is considered cheating, and your thread may even be used by your school to prove your guilt. Now, you may ask for advice or help on a specific aspect of your assignment that you're having trouble with. Use common sense as far as what's acceptable in terms of soliciting help with homework assignments.
    best regards


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts