Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: dbi newbie question

by TheoPetersen (Priest)
on Jul 09, 2001 at 20:52 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://95048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found