$p1 = new DB();
$p2 = $p1->runSQT("select * from `table1`");
$h1 = $p2->num_rows; //The number of record rows in the table
$z1 = $p2->num_fields; //The number of fields in the table
天蓬老师2018-11-27 21:38:06
What are you asking about, which course it is in, can you give the complete code? It is a fragment, difficult to analyze