Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- To change this license header, choose License Headers in Project Properties.
- To change this template file, choose Tools | Templates
- and open the template in the editor.
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- </head>
- <body>
- <?php
- $host='localhost';
- $user='root';
- $password='';
- $database='fakultet';
- $utf='utf8';
- $link= mysqli_connect($host, $user, $password, $database);
- $charset= mysqli_set_charset($link, $utf);
- if($link==TRUE and $charset==TRUE)
- {
- echo 'Da';
- }
- else
- {
- echo 'Ne';
- die();
- }
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment