in reply to Perl Mysql Null Recordset

I use Oracle, but I gather this should still work for MySQL...

$rows = $rs1->rows; if (!$rows) { report_error("username does not exist"); } else { report_error("username_exists"); }
Trek

Replies are listed 'Best First'.
Re^2: Perl Mysql Null Recordset
by JoeJaz (Monk) on Nov 16, 2004 at 21:57 UTC
    That seems simple enough. I'll give that a try. Thanks for the input. Joe