Cygnus
Mon 15th Oct '01, 11:32pm
Is it possible to insert information into two tables at the same time?
For example, I would like to write an insert script that looks like this:
INSERT into USER values
('$username', '$password', '$email', '$first_pick') AND
INSERT into SCORES values
('$username', '$score')
I know that that won't work but is there something that I can do that will basically do the same thing with the click of one submit button?
Thanks in advance!
Cygnus
For example, I would like to write an insert script that looks like this:
INSERT into USER values
('$username', '$password', '$email', '$first_pick') AND
INSERT into SCORES values
('$username', '$score')
I know that that won't work but is there something that I can do that will basically do the same thing with the click of one submit button?
Thanks in advance!
Cygnus