Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $username="root";
- $password="";
- if($link = new PDO('mysql:host=localhost;dbname=pesquisas', $username, $password)){
- echo "ok";
- };
- $query = "SELECT * from senso")
- $result = mysqli_query($query);
- $fetch = mysqli_fetch_row($result);
- echo "$fetch[0]";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement