Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $bdd = new PDO('mysql:host=localhost;dbname=fsociety','root','');
- function get_target(){
- global $bdd;
- $select = $bdd->prepare("SELECT * FROM target WHERE 1");
- $select->execute();
- $fetch = $select->fetch();
- return $fetch;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement