in reply to Re: Inserting more than one entry into a MySql DB
in thread Inserting more than one entry into a MySql DB

Hi,
I retrieve the icodes as such:
@icodes = split(/,/, $q->param('icodes'));
Are you saying that i should just leave it alone?
Thanks
-Kiko
  • Comment on Re: Re: Inserting more than one entry into a MySql DB

Replies are listed 'Best First'.
Re: Re: Re: Inserting more than one entry into a MySql DB
by dws (Chancellor) on Feb 01, 2002 at 21:27 UTC
    I retrieve the icodes as such:
    @icodes = split(/,/, $q->param('icodes'));
    Are you saying that i should just leave it alone?

    That should work. I think screamineagle nailed this one. You might be trying to reuse a primary key. Adding error checking after the execute() might reveal this as a problem.