![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 105 Pomógł: 0 Dołączył: 17.09.2014 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
Potrzebuję znaleźć w tabeli pages wiersz, którego wartość name=$entered i wczytać zawartość tego wiersza do jakiejś tablicy.
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 105 Pomógł: 0 Dołączył: 17.09.2014 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
@turson
w entered jest to co wpiszę w adresie po / (już używałam tej funkcji do sprawdzenia,czy aby na pewno) istnieje jest puste (bo wykonuje się to co w pętli if) @nospor wyskakuje: Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' in C:\WebServ\httpd\startuj\templates\include\dbpages.php:17 Stack trace: #0 C:\WebServ\httpd\startuj\templates\include\dbpages.php(17): PDOStatement->execute(Array) #1 C:\WebServ\httpd\startuj\index.php(9): dbPages('rejestracja') #2 {main} thrown in C:\WebServ\httpd\startuj\templates\include\dbpages.php on line 17
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 2.10.2025 - 18:29 |