$ rows = $ st_handle ->rows
rows
st_handle
Returns the number of rows affected by the last change to the database.
Copyright © 2001 O'Reilly & Associates. All rights reserved.