Results 1 to 4 of 4

Thread: Create a lookup to point to a DB where I specify a query

  1. #1
    Join Date
    Dec 2007
    Posts
    88
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Create a lookup to point to a DB where I specify a query

    Hi, I need help!

    On my page I have no connection to the db, how do I create a lookup to point to a DB where I specify a query and result to my dropdown.


    Regards

  2. #2
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,417
    Thanks
    102
    Thanked 116 Times in 114 Posts

    Default

    could you rephrase that? I don't understand what you are asking?
    To choose the lesser of two evils is still to choose evil. My personal site

  3. #3
    Join Date
    Dec 2007
    Posts
    88
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    Hi, I do have acces with server name & password with db - i just dont know how to the code for setting up the connection string.

    I need to create connection specifying all db credentials and then specify query for lookup:

    I have a blank html page:

    <html>
    <body>
    <select id="test">
    <options>lookup</options>
    </select>
    </body>
    </html>

    I then need to pass the selected value to a parameter

    Please assist!

  4. #4
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    Check this website out: http://www.php-mysql-tutorial.com/

    This will assume your using or going to be using PHP+MySQL.
    Ryan
    Sevierville, TN

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •