This will tell you if your command ran successfully.
if ( $dbh->do( $command ) ) { &success; } else { &failure; }
This will tell you if you actually inserted anything:
if ( 0 + $dbh->do( $command ) ) { &success; } else { &failure; }
In reply to Re: Knowing if an Operation is Successful in MySql
by ehdonhon
in thread Knowing if an Operation is Successful in MySql
by drewboy
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |