Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "<br><h2>Count Query echo results</h2>";
- $pdoQuery = "SELECT * FROM winecellar";
- $pdoResult = $pdo->query($pdoQuery);
- $pdoRowCount = $pdoResult->rowCount();
- echo "<h2>There are $pdoRowCount types of wine in your cellar.</h2>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement