Snippets tagged “rowcount”
2 snippets use this tag.
- Checking for an empty result (PHP, PDO, and MySQL)PHP
In PHP, you can use the PDO (PHP Data Objects) extension to interact with a MySQL database.
- How to check if a row exist in the database using PDO?PHP
You can use the rowCount() method of the PDOStatement object to check if a row exists in the database using PDO.