I have written MySQL query to get a number of records from the table. I'm very new to angular js, I don't know how will I display output of it into the Angular js. kindly check with below PHP and MySQL query.
<?php
include("../include/connect.php");
$sql="SELECT clientDB_Status FROM ms_approach_clients where clientDB_Status='Lead-Successful'";
if ($result=mysqli_query($con,$sql))
{
// Return the number of rows in result set
$rowcount=mysqli_num_rows($result);
printf("Result set has %d rows.\n",$rowcount);
// Free result set
mysqli_free_result($result);
}
mysqli_close($con);
?>