Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $link=mysqli_connect("localhost", "root", "")
- or die("Błąd-nie można połączyć się z serwerem baz danych");
- mysqli_select_db( $link, "ankieta");
- $result=mysqli_query($link, "CREATE TABLE osoby (id_osoby INT AUTO_INCREMENT PRIMARY KEY not null,
- imie varchar (30) not null,
- nazwisko varchar (30) not null,
- wiek int(10) not null,
- login varchar (30) not null,
- haslo varchar (30) not null,
- plec varchar (1) not null,
- wyksztalcenie varchar (30) not null)")
- or die("Błąd-nie można utworzyć tabeli");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement