travel table:
Field Type Null Default
America decimal(6,0) No 450
Europe decimal(6,0) No 1570
Russia decimal(6,0) No 2500
Asia decimal(6,0) No 3000
Canada decimal(6,0) No 600
Australia decimal(6,0) No 3500
member table:
loginName varchar(25) No
password varchar(255) No
email varchar(50) Yes NULL
firstName varchar(40) Yes NULL
lastName varchar(50) Yes NULL
street varchar(40) Yes NULL
city varchar(40) Yes NULL
zip varchar(12) Yes NULL
country varchar(20) Yes NULL
money int(17) No 1000000
guns varchar(20) Yes NULL
protection varchar(20) Yes NULL
rank varchar(18) Yes scum
bank int(17) No 0
bullets int(8) Yes 3000
createDate
these are my table structures, so basically, when the user clicks on the travel webpage and say clicks the europe button, i want the europe value from this travel table subtracted from the members money in the member table.
if you see what i mean, the query you have displayed may work, thank you, if the above helps with the query let me know more.
thanks
sarah