Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Inserting more than one entry into a MySql DB

by Kiko (Scribe)
on Feb 01, 2002 at 19:45 UTC ( #142751=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://142751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-12-08 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (35 votes). Check out past polls.

    Notices?