askgetanswer has asked for the wisdom of the Perl Monks concerning the following question:
my @txtquearr = split('~', $txtque); ###################################################################### +######### my $count = 0; foreach $txtque (@txtquearr){ $count = $dbh->do("INSERT INTO ques (username,userque,userquedetail,us +erquecatgory,userresponsecount,quegood,quebad,queid,userquedate,quevi +deo,queaudio,quepic,email)values('$usernamenow','$txtque','$txtdetail +','$cat','$userresponsecount','$quegood','$quebad','$aaqueid','$userq +uedate','$txtvideolink','$txtaudiolink','$txtpicturelink','$txtemail' +)",undef,$usernamenow,$txtque,$txtdetail,$cat,$userresponsecount,$que +good,$quebad,$aaqueid,$userquedate,$txtvideolink,$txtaudiolink,$txtpi +cturelink,$txtemail); print "Ques Inserted inoto Data\n"; print $txtque; }
May 05, 2008 at 12:54 UTC Janitored byMcDarren, Original content restored.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inserting large chunks of data into MySQL
by moritz (Cardinal) on May 04, 2008 at 15:22 UTC | |
|
Re: Inserting large chunks of data into MySQL
by talexb (Chancellor) on May 04, 2008 at 15:09 UTC | |
|
Re: Inserting large chunks of data into MySQL
by pc88mxer (Vicar) on May 04, 2008 at 15:18 UTC | |
|
Re: Inserting large chunks of data into MySQL
by Fletch (Bishop) on May 04, 2008 at 15:19 UTC | |
|
Re: Inserting large chunks of data into MySQL
by g0n (Priest) on May 04, 2008 at 21:28 UTC | |
|
Re: Inserting large chunks of data into MySQL
by pc88mxer (Vicar) on May 04, 2008 at 15:17 UTC | |
|
Re: Inserting large chunks of data into MySQL
by chrism01 (Friar) on May 06, 2008 at 06:09 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |