in reply to INSERT into SQL 2000
but the sub is written for 3, although none are initialised. I think your mistake is hereinsert_item ($dbh, param ("content"));
In the second piece of code, I would temporarily change this line as follows, and display $rows in the page# my ($dbh, $t, $content); NOT THIS my ($dbh, $t, $content) = @_; #
If all the values are "" then $stmt would be INSERT INTO prodreg SET which would be invalid.#$rows = $dbh->do ($stmt, undef, @placeholder); $rows = qq[ dbh->do ($stmt, undef, @placeholder) ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: INSERT into SQL 2000
by SyN/AcK (Scribe) on Jul 15, 2003 at 19:05 UTC |