r_mehmed has asked for the wisdom of the Perl Monks concerning the following question:
and then my $sth= $dbh->prepare($SQL1,SQL2) or die $dbh->errstr; all that seems to do is execute only the first $! any help welcomemy $SQL1 = "INSERT INTO property (address_1, address_2, county, cit +y, zip, description, status, bedroom) VALUES ('$address_1', '$address +_2', '$county', '$city', '$zip', '$description', '$status', '$bedroom +')"; my $SQL2 = "INSERT INTO property2 (address_1, address_2, county, ci +ty, zip, description, status, bedroom) VALUES ('$address_1', '$addres +s_2', '$county', '$city', '$zip', '$description', '$status', '$bedroo +m')"; <br>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Insering into 2 tables?
by Zaxo (Archbishop) on Jan 23, 2003 at 20:57 UTC | |
|
Re: Insering into 2 tables?
by Kanji (Parson) on Jan 23, 2003 at 20:00 UTC | |
|
Re: Insering into 2 tables?
by hardburn (Abbot) on Jan 23, 2003 at 20:00 UTC | |
|
Re: Insering into 2 tables?
by Sifmole (Chaplain) on Jan 23, 2003 at 20:41 UTC |