get data from MySQL and show on html page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikanth233
    New Member
    • Feb 2008
    • 1

    get data from MySQL and show on html page

    hello! How can i get data from Mysql to a html page with out changing the current page?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Can you post what you have done till now for reference of our experts.

    Comment

    • chaarmann
      Recognized Expert Contributor
      • Nov 2007
      • 785

      #3
      Originally posted by srikanth233
      hello! How can i get data from Mysql to a html page with out changing the current page?
      use AJAX. (="Asynchrono us JavaScript and XML")
      This is a request inside your HTML page that inquires the server and can show the results in your HTML page immediately, without reloading it. The server can load the data of the result via JDBC or ODBC from the database.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Depends if you want to show that MySQL data when you build-up the page (like populating a drop-down list) or after someone has clicked on a button on a completed page to get the MySQL data at that moment from the server.

        So: explain what you want and show your code (within the appropriate code tags).

        Ronald

        Comment

        Working...