Search:

Type: Posts; User: copeg

Search: Search took 0.07 seconds.

  1. Re: Retrieving a result by a user's different combination's using StringTokenizer (MYSQL)

    I recommend reading the following tutorial for how to use a PreparedStatment.
    Using Prepared Statements (The Java™ Tutorials > JDBC(TM) Database Access > JDBC Basics)
    You are not using...
  2. Re: Retrieving a result by a user's different combination's using StringTokenizer (MYSQL)

    The values the user input in the JTextField, with which your code searches the database for. So, in the case of "tearful, nausea, lack of motivation", the array will be
    [0] = "tearful"
    [1] =...
  3. Re: Retrieving a result by a user's different combination's using StringTokenizer (MYSQL)

    Your query as written relies on the variable abc, not subsets of it (eg the tokens). Thus it will only match in that order.



    The above code does nothing with the variable returned by the method...
Results 1 to 3 of 3