Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $stmt = $conn->query("SELECT * FROM notifications LIMIT 0 ; SHOW META ;");
- $stmt->nextRowset();
- $result = $stmt->fetchAll(PDO::FETCH_ASSOC);
- print_r($result);
- foreach ($result as $element => $value) {
- echo "element $element, value $value \n";
- // if ($result['Variable_name'] == 'total_found') {
- // $total_found = $result['Value'];
- // }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement