In using PHP Prepared Statement, what is the syntax for counting number of rows?
$stmt = $conn->stmt_init(); $query = "SELECT * FROM TableName"; if($stmt->prepare($query)){ $stmt->num_row(); //SOMETHING SIMILAR TO THIS.... }
$stmt->num_rows