$sth->execute() || die("Divide By Cucumber Error\n");
On another note, you really should be using placeholders rather than interpolating $lsname directly into your SQL. Consider what would happen if the variable contained an apostrophe. Or if it contained foo');update t1 set lsname='you are owned
In reply to Re: simple question about printing sql 2000 error message
by DrHyde
in thread simple question about printing sql 2000 error message
by rootstock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |