I have Some tables in MqSql database.
I have to Fetch data from mysql table using javascript & show it in map of leaflet.
Can any any one tell me that how can I fetch data from mqsql using javascript ?
You should call Database connection from server side, so if you want specific data to be available for javascript then you can use JSON. Get values in severside and encode it to JSON and convert JSON object oriented and do awesome work
JSON. Get values in severside and encode it to JSON and convertJSONobject oriented and do awesome work