in reply to net::mysql has_selected_record always returns true

Are you sure that your query isn't returning any record?

  • Comment on Re: net::mysql has_selected_record always returns true

Replies are listed 'Best First'.
Re^2: net::mysql has_selected_record always returns true
by steve_s741 (Initiate) on Mar 18, 2013 at 12:26 UTC
    Unless there are possible conditions where a query on an empty table should return a result, then I'm pretty confident. Certainly when I run same query at MySql shell I get nothing back.