Search:

Type: Posts; User: bondage

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    3,638

    Re: UPDATE SQL QUERY by getting user variables

    Hi,

    so would something like this work:

    UPDATE individuals SET balance=balance+ jTextField1.getText() WHERE ID='1'; ?

    Also, will this automatically return the Balance from the database and...
  2. Replies
    5
    Views
    3,638

    Re: UPDATE SQL QUERY by getting user variables

    Thanks for your reply.

    However, how can i get the user data (from a text field) and pass it in the SQL statement. How can i do this? Are you aware of any possible tutorial online or any other...
  3. Replies
    5
    Views
    3,638

    UPDATE SQL QUERY by getting user variables

    Hi,

    I have a table called 'individuals'. It has 5 entities i.e. ID (int,) name (String), surname (String), Age (Int) and currencyBalance(double). These are stored in a mySql Database.

    I would...
Results 1 to 3 of 3