在PHP PDO 使用rowCount() 可以取得執行SQL 語法影響的筆數。 像是這樣使用: ? ... $stmt = $db ->prepare( 'SELECT * FROM fruit' );. $stmt ->execute();.
確定! 回上一頁