Answer the question
In order to leave comments, you need to log in
How to display data from mysql via JS in HTML5?
Good day! Here I am developing an application on Intel XDK and those who programmed on Intel XDK faced the problem of PHP support. And immediately the question arises how to display data from mysql through JS in HTML5? Help me please!
Answer the question
In order to leave comments, you need to log in
Only by Ajax requests to the server side (in php, python - it doesn't matter)
Js in html5 - they don't say so
Html is a static document markup language
To get data from the server, the client web application needs to contact the server at the right address
The server sends data as a text string (json innerHtml) by Ajax
or as html with a normal page request
Inside html can contain data as a string of text (data-)
Javascript of your web application can load any additional scripts with data and programs by creating script elements by loading js-files at the address from the server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question