I've got a problem. I don't know how to transfer JS variables to PHP. In JS I've got my main script and I'm using PHP only to file management but I need some variables from JS.
Asked
Active
Viewed 110 times
-5
-
could you add some of trying code? – Rakesh Sharma Aug 04 '14 at 05:02
-
javascript is clientside. Never trust javascript. Which type of variable we are talking about? consider ajax. – Christian Gollhardt Aug 04 '14 at 05:03
1 Answers
1
The short answer is AJAX, (or SOAP but you better go with AJAX). So go do a little research on it, and if you know jQuery or Prototype or something similar, you are pretty much off for starting to code in a new technology in minutes.
Here are some links, to get you started:

Community
- 1
- 1

Gabriel C. Troia
- 3,180
- 2
- 16
- 17