Thursday, July 5, 2012

jquery week calendar associated with php & mysql

Here is the sample for jquery week calendar associated with php & mysql.
It supports:
+Read events from mysql db
+Save new events to mysql db
Sorry,
I have no time to add more functions.

Download sample here: http://lvhung.googlecode.com/files/calendar.rar

6 comments:

  1. Hi, i do save in mysql, but i cant make read, why??
    help me.

    paulo_rm@msn.com

    ReplyDelete
  2. @paulo
    I use json_encode to read events.
    Pls make sure you use PHP 5 >= 5.2.0 and PECL json >= 1.2.0

    See more at:
    http://php.net/manual/en/function.json-encode.php

    ReplyDelete
  3. do you have msn ou skype to take questions about your code??
    exemple, i try edit event ou delete and dosent work.
    mu skype is paulo_torto and msn paulo_rm@msn.com

    thanks to your help

    ReplyDelete
  4. i create event using json and its work, but when i edit or delete or move event, in display its ok, but when i type F5, de event retorn in old data, i see de edit and delete, dont update mysql.

    thanks again to help me

    ReplyDelete
  5. @paulo
    This demo has no delete function.
    You can add it by an ajax call in button delete of eventClick (same as I did in button save of eventNew).
    But you also take care about calEvent.id to delete correctly.
    You should get max id of events from DB, then count it inreasing when adding an event.

    ReplyDelete
  6. i create event using json and its work, but when i edit or delete or move event, in display its ok, but when i type F5, de event retorn in old data, i see de edit and delete, dont update mysql.

    thanks again to help me

    ReplyDelete

Subscribe to RSS Feed Follow me on Twitter!