Results 1 to 4 of 4

Thread: Getting information from mysql database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2011
    Posts
    17

    Getting information from mysql database

    Hi,
    I'm trying to make a loginsystem for my application. The registration part works well but I have no idea how to get the information FROM the database and compare them with the userinput. Can someone tell me how to do that or give me some code?

    PS: I'm using the mysql connector API

    thank you!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Getting information from mysql database

    Are you saying that you don't know how to query the database? I find that odd if you know how to insert data.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2011
    Posts
    17

    Re: Getting information from mysql database

    Off course I do know how to query, but I don't know the vb-code!

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Getting information from mysql database

    It just seems curious to me that you can write code to save information to a database but you can't write code to retrieve data from a database. The two are so closely related I have to wonder how you found information on one but not the other.

    Anyway, you can follow the CodeBank link in my signature and check out my thread on Retrieving & Saving Data, which has examples of common scenarios going both ways.

Posting Permissions

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



Click Here to Expand Forum to Full Width