Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-09-22 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (192 votes), past polls