Java Swing Font Chooser

 //query for  counting  the total number of rows
$result = $conn->prepare("SELECT COUNT(*) FROM your_table"); 
    $result->execute();
    $num_rows =  $result->fetchColumn();

     //condition to display the result
    if ($num_rows>0)
    {
        echo "there is some results =".$num_rows;
    }else{
        echo "no result";
    }
13
задан Chris Dail 22 January 2010 в 20:21
поделиться