Jump to content

Passing Values Javascript <-> Php


ulisses
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...