Calender In Php

Discussion in 'PHP' started by mandarj123, Apr 4, 2009.

  1. #1
    I want to Insert a Date In A database Which Is user Entered Can I make Calender In php sumthing like .net offers i hv no clue how to do it in php:p:p
    ?
    help needed
     
    mandarj123, Apr 4, 2009 IP
  2. kusal

    kusal Peon

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    kusal, Apr 4, 2009 IP
  3. fourfingers

    fourfingers Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    javascript is what you're looking for, then the js inserts the numeric date into a field ... submit the field to database. PHP would be a terrible way to handle a calendar but there are probably a few functions floating around somewhere
     
    fourfingers, Apr 5, 2009 IP
  4. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    #4
    since javascript is not enabled on everyones computer then I think you should try using ajax!
     
    ryandanielt, Apr 5, 2009 IP
  5. fourfingers

    fourfingers Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You are aware that the "j" in ajax stands for javascript, correct?
     
    fourfingers, Apr 5, 2009 IP
  6. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    #6
    ever heard of jquery? lol
     
    ryandanielt, Apr 5, 2009 IP
  7. fourfingers

    fourfingers Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    jquery is javascript too.
     
    fourfingers, Apr 6, 2009 IP
  8. manly_ninja

    manly_ninja Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Use Javascript is a best choice!!! Don't use PHP to create Calendar
     
    manly_ninja, Apr 6, 2009 IP
  9. aquasonic

    aquasonic Well-Known Member

    Messages:
    90
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    115
    #9
    A while ago I found a fun little script that I held on to and I think it will do what you want.

    I'll attach both the files and an example page... I can't remember where I got the script.

    You'll have to change the name of calendar.core.js.php as I couldn't upload a js file... so just remove the .php extention 'calendar.core.js'
     

    Attached Files:

    aquasonic, Apr 7, 2009 IP
  10. blazinrachel

    blazinrachel Peon

    Messages:
    230
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    sorry i dont have any idea at all... I am also interested because I want to learn if someone can do it using php. Thanks for the advices guys...
     
    blazinrachel, Apr 7, 2009 IP