I get data from database and i want to fill html form with this data by ajax
how to display data which is get from data base in html bage using ajax
Collapse
X
-
Welcome to Bytes. Unfortunately we do not supply code for people, but generally help people with code or concepts they do not understand. If you understand AJAX then what is your question, and would be better answered in the Javascript/AJAX forum? If you don't understand AJAX, I suggest doing some tutorials first. -
You can google how to connect to database using php, personally i learnt how to do this via -
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
U can also learn how to retrieve data from database there to.
once you done this all you need to do is ehco the varible/s in a html-
Code:<html> <body> <?php echo $var?> </body> </html>
Comment
Comment