I'm currently working on a project and I'm a little lost, I've done simple development in JS and PHP before.
My issue is this:
I have a webpage, solely based on JS, I need to take two pieces of information, one piece is provided by the current system, however the other piece of information needs to be taken manually from the user.
I then need to take the piece of information provided by the user, do a database read find the values that match that piece of information, then I need pass the information from the database read back into my JS.
So basically: JS var -> PHP variable -> PHP MySQL read - if true store values -> pass values to JS
Now instantly see a problem in that, JS is client side and PHP is server side, so I imagine it's not possible to do on a static page. (unless I use AJAX but I have no experience with AJAX)
Advice would be apprciated


LinkBack URL
About LinkBacks
Reply With Quote

