Jump to content

Passing Values Javascript <-> Php


ulisses

Recommended Posts

hi all! I'm trying to find a way to pass values from javascript to php and vice-versa.The idea is this:I have a panel with numbers which user chooses. I have to save the chosen numbers in a mysql database.I think of saving the javascript values in php variables, and then send to the database.I've searched on many websites, but it's not clear, so if u could propose me a good link, or give me any idea I'd appreciate.Thanks

Link to comment
Share on other sites

Passing values from PHP to JavaScript is no problem, doing it the other way around requires AJAX. The tutorials on w3schools are as good a place as any to start learning AJAX.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...