The number of rows in table1 records can be obtained, but the number of fields in table1 cannot be obtained. Why?
小辫子
小辫子 2018-11-23 21:49:21
0
1
703

$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

小辫子
小辫子

reply all(1)
Peter-Zhu

What are you asking about, which course it is in, can you give the complete code? It is a fragment, difficult to analyze

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template