• Tuesday , 23 October 2018

PHP Calendar Script Tutorial

Code Canyon

Here’s a PHP calendar script and tutorial. I took some approached I’d seen from other developers and turned them into a class… and cleaned them up a bit.

Original source

3d Ocean

Related Posts


  1. kai ran
    October 19, 2017 at 20:08

    hy john !
    why it says Parse error: syntax error, unexpected 'function_construct' (T_STRING), expecting variable (T_VARIABLE) in C:xampphtdocsDASHindex.php on line 13.. confused!!!

  2. Darius D'Silva
    October 19, 2017 at 20:08

    can you help me out. I wanted to use a jquery ui cal widget with arrows on the left and right of the calendar and make it change it dynamically rather than hard code the values into new calender()

  3. Titi Ionut Catalin Pocsan
    October 19, 2017 at 20:08

    Hello John, nice work! Thank you for your great work and dedication, keep on this path! I want to add something about OOP, when you are working with methods ( and functions in general ) try as much as possible to not output HTML code from them.If you want to change the HTML structure of the calendar, you have to do it inside the class, each and every time, this could easily bring tons of problems.

    Try building this class in a way that will return your required data ( you can even make it return json code for working with javascript, your class becomes so flexible ), then, you can use the data as you want.

  4. Tomas Tomaševičius
    October 19, 2017 at 20:08

    Hey, nice video! I wanted to know whitch IDE you are using

  5. Darius D'Silva
    October 19, 2017 at 20:08

    You have a commendable attitude.

  6. Jason Cooksey
    October 19, 2017 at 20:08

    This is great! Thanks for taking the time to show us these marketable skills 🙂

  7. SonicFanFilmEspaňol 100
    October 19, 2017 at 20:08

    awesome video

  8. VAXO
    October 19, 2017 at 20:08

    // Days of the week header
    foreach ( $this->days_of_week as $day ) {
    $output .= '<th class="header">' . $day . '</th>';
    the website is pushing out an error on the foreach statement and i cant figure out what i did wrong. btw it's line 30

  9. Aaron Miller
    October 19, 2017 at 20:08

    Does the data actually feed into a database or email account? if it does I will be willing to subscribe to your course

  10. Jack Salcedo
    October 19, 2017 at 20:08

    Hey John, do you have a video on how to make a scrolling effect for a website when I have an HTML bookmark? I can't find anything that works. Thanks!

  11. Matthew Parks Jr
    October 19, 2017 at 20:08

    Heyo! Just wanted to say you have been a TON of help :). Thanks for everything 😀

  12. Richard Bloxam-Rose
    October 19, 2017 at 20:08

    Lots of admiration for what you do. I also am military moving into the IT World. I'm already quite established and reasonably experienced with PHP, but what you talk about and teach is so useful and relevant.

    Great job!

  13. Dragos Dima
    October 19, 2017 at 20:08

    Hi!I'm waintin your mail 🙂

Leave A Comment

You must be logged in to post a comment.