Results 1 to 2 of 2

Thread: Java string sql

  1. #1
    bbty is offline Member
    Join Date
    Aug 2016
    Posts
    1
    Rep Power
    0

    Default Java string sql

    I am creating a social app in android studio but I have a problem . I can create multiple users with one username but I don't want that to happen I want each user to have an individual username but I don't know how to do that . I am using 000webhost`so I don't know if the following code I wrote would work . So can someone help me ?

    PHP Code:
     String sql = "SELECT username FROM users WHERE username = username";
    
                    if()
                    {
    
                    }

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: Java string sql

    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 12
    Last Post: 09-23-2011, 01:25 PM
  2. Replies: 3
    Last Post: 05-02-2011, 07:51 AM
  3. Replies: 4
    Last Post: 01-01-2011, 10:52 AM
  4. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  5. Replies: 0
    Last Post: 11-20-2007, 04:59 PM

Tags for this Thread

Posting Permissions

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