how to communicate html to xml data file?

Ratchetr

New member
A browser will make a request to your server, either a GET request (to load a page), or a POST request (to post form data to server).
The browser expects an HTML document to be returned from that request, which it will then display.

You can use PHP on the web server to generate the HTML code. PHP can use XML files and/or MySQL database to know what to put inside the HTML. Once your PHP script finishes, the result will be sent back to the browser as HTML.
 
A browser will make a request to your server, either a GET request (to load a page), or a POST request (to post form data to server).
The browser expects an HTML document to be returned from that request, which it will then display.

You can use PHP on the web server to generate the HTML code. PHP can use XML files and/or MySQL database to know what to put inside the HTML. Once your PHP script finishes, the result will be sent back to the browser as HTML.
 
i want ot know how to connect or use my html to connect to a xml data file, also i want to somehow use php from my website or from external but somehow connect it to my html so that i can access a data base or if theres a a way to make my index.html access able to mySQL data base. or if what all i said doesnt make sense.

communication my site with a MySQL database using PHP. and
communication my site with an XML data file.

if someone can atelast explain that to me or how its done or any example what so ever would be a very grand help.
 
Back
Top