Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Passing Javascript to php

matblac
2011-03-22
2013-05-20
  • matblac
    matblac
    2011-03-22

    I need to pass Javascript variables to PHP variables so I can add it to mySQL database.  I am extremely new to web design but it is for my senior assignment so I have to get it done.  It is an event scheduling calender if that helps.   Here is my code for javascript:

    buttons: {
                   save : function() {
                      calEvent.id = id;
                      id++;
                      calEvent.start = new Date(startField.val());
                      calEvent.end = new Date(endField.val());
                      calEvent.title = titleField.val();
                      calEvent.body = bodyField.val();
                    

    Thank you for any help sorry if it is a dumb question

     
  • andre1978
    andre1978
    2012-12-21

    if you wanna learn this PHP concept deeply. you should have to visit w3schools.com.
    this is free and good website to learn online php language that you will make your assignment easily….
    thanks,

                                                                                                                                                                                                                            

    Free Online Casinos