Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: dbi newbie question

by TheoPetersen (Priest)
on Jul 09, 2001 at 20:52 UTC ( #95048=note: print w/ replies, xml ) Need Help??


in reply to dbi newbie question

DBI wouldn't do what you describe, unless you have duplicate rows in your tables or something. Perhaps the problem is that you are always appending to $websites and not resetting it? Try putting

$websites = '';
after the execute call.


Comment on Re: dbi newbie question
Download Code
Re: Re: dbi newbie question
by PrakashK (Pilgrim) on Jul 09, 2001 at 21:07 UTC
    Or, make $websites a lexically scoped (my) variable, in your outer while loop (before you start the inner while loop). That will ensure that the variable is newly created for every iteration.

    /prakash

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-09-02 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (22 votes), past polls