function pobieranie_tresci_regulaminu() { $host = 'localhost'; $admin = 'xxxxxx'; $haslo = 'xxx'; $polaczenie = @mysql_connect($host, $admin, $haslo) or die('Brak połączenia z serwerem MySQL.<br />Błąd: '.mysql_error()); $polaczenie_do_bazy = @mysql_select_db('baza_strony', $polaczenie) or die('Nie mogę połączyć się z bazą danych<br />Błąd: '.mysql_error()); $zapytanie = "SELECT tresc FROM podstrony WHERE nazwa = 'regulamin'"; $tresc=$temp['tresc']; }