Which fetchrow_hashref line? I see two of them, but only one execute.  You need to 
include more 
code for anyone to know what's really wrong here.


____________________________
Jeff Seger
Fairchild Semiconductor
[EMAIL PROTECTED]
____________________________





"NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]>
09/03/2003 12:43 PM

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        fetch( ) without execute( ) Error...


                 I keep coming up with this error, but I AM performing an 
execute
prior to the fetch.  I have seen some other threads on this, and have
upgraded the DBD:Mysql to the latest version on CPAN.  Any ideas?  Here is 
a
small portion of the code:

if ($rows2 == 1) {
    my $vals = $test2->fetchrow_hashref ('NAME_lc');
    my $id = $vals->{id};
    my $query = $dbh2->prepare("SELECT * FROM fsdata WHERE id ='$id'");
    $query->execute();
    $query->finish();
    while (my $ref2 = $query->fetchrow_hashref ('NAME_lc')) {
      undef $set2;

                 I am getting an error on the fetchrow_hashref line. 
Thanks in
advance.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com





Reply via email to