|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: DBI and last_insert_idby moritz (Cardinal) |
| on Jan 28, 2009 at 21:11 UTC ( #739705=note: print w/ replies, xml ) | Need Help?? |
|
Do you have RaiseError active? It seems that you pass an SQL string with four placeholders to prepare, but only pass three to execute. If execute fails, I wouldn't be suprised if last_insert_id() returned some garbage (although an error message would be useful).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||