in reply to perl and mysql
Perl complains about reading from DATA because you have no __DATA__ section in your program. Where do you think Perl should take the data from if you don't provide any?
Also you probably want VALUES(?, ?) in your SQL. See the DBI documentation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl and mysql
by Anonymous Monk on Apr 22, 2010 at 17:15 UTC |