how to check the values of variables with database?? "note":i am getting values using google map api.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

how to check the values of variables with database?? "note":i am getting values using google map api..

hello,below question i asked is most important for me.if anyone expert in javascript they can easily solve my problem.i repeat when clicking the show location button values to be sotred in two variables, now my problem is how to check the values with database..someone says that use json or querrystring but i got confuesed on that so if anyone intrested please help me..thanks in advance

27th Jan 2018, 4:25 AM
Ramanan S
Ramanan S - avatar
5 Answers
+ 6
Before we could guide you checking values with database. You have to let us know how do you use JavaScript to access your database. JavaScript run on client device browser which does not allow direct access to server database. You have to use server script, PHP or Node.js to access database on the server side, only then you could update the front-end html with PHP code.
27th Jan 2018, 6:19 AM
Calviղ
Calviղ - avatar
+ 5
I can't make you understand PHP code in this short answer. You should really need to complete your PHP and Mysql courses in Sololearn in order to understand more.
27th Jan 2018, 6:32 AM
Calviղ
Calviղ - avatar
+ 2
ya thanks for your answers.. can u explain me about that in php? and sample program link
27th Jan 2018, 6:30 AM
Ramanan S
Ramanan S - avatar
- 1
bro I know my SQL and php along with xampp.. I think I can understand wat u r going to explain me😄😄😄
27th Jan 2018, 6:35 AM
Ramanan S
Ramanan S - avatar
- 1
noone here to explain my doubts..then y they created community here
28th Jan 2018, 12:00 PM
Ramanan S
Ramanan S - avatar