Results 1 to 5 of 5

Thread: [RESOLVED] mysql problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Resolved [RESOLVED] mysql problem

    Sorry, wrong section
    Last edited by doctorfrost; Dec 23rd, 2009 at 09:39 PM.

  2. #2
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: mysql problem

    Instead of using
    Code:
    Code: Dim mysqlstring As String = "SELECT * FROM accounts where `username` = '" + Form1.hidden.Text + "'"
    try
    Code:
    Code: Dim mysqlstring As String = "SELECT * FROM accounts where username = '" & Form1.hidden.Text & "'"

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Re: mysql problem

    It didn't work. Their isn't a syntax error but the label won't change into the mysql string.

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Re: mysql problem

    it only works 1/20 times for some reason.

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Re: mysql problem

    nvm it works 100% thank you guys. =]

    It only works 100% when I reove the try function.

    Anyways thanks

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