Answers for "php pg_num_rows if rows number is n, do that elase do that"

PHP
1

num_rows in php

// Fetch Query
$query = "SELECT user_name from registered_users where user_name like '%ank%'"; 

// Execute the query and store the result set 
$result = mysqli_query($con, $query); 

if ($result) { 
  // it return number of rows in the table. 
  $row = mysqli_num_rows($result); 
}
Posted by: Guest on February-18-2021

Code answers related to "php pg_num_rows if rows number is n, do that elase do that"

Browse Popular Code Answers by Language