Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_once('dbconnect.php');
- $polaczenie = mysqli_connect($dbhost, $dbuser, $dbpassword, $dbname);
- $rezultat = mysqli_query($polaczenie, "SELECT * FROM dane where id=2");
- while ($wiersz = mysqli_fetch_array($rezultat))
- {
- $nazwa = $wiersz [1];
- $szef = $wiersz [2];
- $ulica = $wiersz [3];
- $kod = $wiersz [4];
- $miasto = $wiersz [5];
- $telefon = $wiersz [6];
- $email = $wiersz [7];
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement