Answers

Question and Answer:

  Home  Internee PHP Developer

⟩ Tell us how can we find the number of rows in a result set using PHP?

☛ $result = mysql_query($sql, $db_link);

☛ $num_rows = mysql_num_rows($result);

☛ echo "$num_rows rows found";

 118 views

More Questions for you: