| count() | ใช้คืนค่า จำนวนแถวข้อมูล ของ result |
|---|
method:count ();
return type:int
class:result
content:ใช้คืนค่า จำนวนแถวข้อมูล ของ result
example:$sql = "select * from bamboolabcode"; $conn = new Database (); $result = $conn->query ( $sql ); echo $result->count ();