in reply to while($sth->fetch()) help

the part that doesn't work is it is not getting into the 'while' loop

Have you verified that there's really data in cscadmin.crs_batch_lines that satisfies the query you're using? Quite a few, "It used to work, and I didn't change anything!" problems can be traced back to unnoticed changes in data.

Replies are listed 'Best First'.
Re: Re: while($sth->fetch()) help
by Zo (Scribe) on Mar 05, 2003 at 20:44 UTC
    Actually after I posted it, that's what I thought too... I'm trying to run data integrity testing and DBI connection now with a separate script. Thanks for the input!
    -Zo
      .... ugh... ok.. the next vote/poll on this site should be
      "Who's the biggest moron on this site?"..
      I would vote for myself. It wasn't my code, it was my "select" statement itself... where it was looking for a 'N'.. and in the table I just checked, all are set to 'Y'.

      This is why I ask here, you are all my "cyber-eyes" to help when I get "coder's block".

      thanks!!!
      -Zo