SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post jquery multiselect calendar

    i have a jquery multiselect calendar but how will i put the output or the dates in the database? any help pls


  2. #2
    SitePoint Evangelist TommiChi's Avatar
    Join Date
    Oct 2008
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You would have to write an AJAX Post statement to a server-side script that will save your data on the DB.

  3. #3
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how will i do it, im not familiar with javascript or AJAX

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,718
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    You will need to submit the date information to a server-side script, such as PHP, so that the PHP file can take that data and submit it to your database.

    The AJAX part of things is going to be but a very small part of the overall solution.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what data type in mysql will i use? what i did before is use date format but it will not accept multiple output of dates.

  6. #6
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,718
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    That depends on how you want to organise your data. If you will be searching your database on those dates, may want to use separate table that consists of only a foreign key and a date field, in which you put those dates. The foreign key is the same for each group of dates, and that foreign key is then placed in another table, so that you can reference that group of dates.

    This though is the JavaScript forum. The PHP forum might give you a better response, and you'll get even better responses still from the MySQL forum. Perhaps the best though will be directly from the user called r937
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  7. #7
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks 4 the advice.this forum is great, the members are replying quickly.thanx so much


Bookmarks

Posting Permissions

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