I've googled this up already, but everything is very confusing for me. (I totally fail at JS)
I have an array in JS, and I need to get it to PHP to process and dump the information into the database.
I've googled this up already, but everything is very confusing for me. (I totally fail at JS)
I have an array in JS, and I need to get it to PHP to process and dump the information into the database.
http://www.hscripts.com/tutorials/php/jsArrayToPHP.php seems to give a quite good example.
If you don't want to have a form though (you could hide it), you could create an advance system using cookies and AJAX and server partial request/response![]()
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
What type of data? The answer will affect the generality of the solution.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
http://www.kelvinluck.com/assets/jqu...mentation.htmlCode:# dpGetSelected( ) returns Array Gets a list of Dates currently selected by this datePicker. This will be an empty array if no dates are currently selected or NULL if there is no datePicker associated with the matched element. Example: Will alert an empty array (as nothing is selected yet) $('.date-picker').datePicker(); alert($('.date-picker').dpGetSelected());
Last edited by xav0989; 09-26-2009 at 10:15 AM.
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki