Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
u1_php_databaser [2021-11-01 21:24] Joakim Forsgren |
u1_php_databaser [2022-07-18 13:20] (current) |
||
---|---|---|---|
Line 61: | Line 61: | ||
// 1. Koppla upp sig mot databasen | // 1. Koppla upp sig mot databasen | ||
// server, login, password, database | // server, login, password, database | ||
- | $link = mysqli_connect(" | + | $link = mysqli_connect(" |
// Säg till databasen att man vill ha ut resultatet i utf8 | // Säg till databasen att man vill ha ut resultatet i utf8 | ||
mysqli_set_charset($link, | mysqli_set_charset($link, |