![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 74 Pomógł: 1 Dołączył: 29.03.2013 Ostrzeżenie: (0%) ![]() ![]() |
Po naciśnięciu przycisku "Post has been updated" wyrzuca mi błąd: "Any of the fields is empty" a w polach: Post Title <- <br /><b>Notice</b>: Undefined variable: post_title in <b>C:\xamp\htdocs\test\test\edit_posts.php</b> on line <b>59</b><br /> Post Author <- <br /><b>Notice</b>: Undefined variable: post_author in <b>C:\xamp\htdocs\test\test\edit_posts.php</b> on line <b>64</b><br /> Post Keywords <- <br /><b>Notice</b>: Undefined variable: post_keywords in <b>C:\xamp\htdocs\test\test\edit_posts.php</b> on line <b>69</b><br /> Post Image <- nie ładuje obrazka Post Content: <- <br /> <b>Notice</b>: Undefined variable: post_content in <b>C:\xamp\htdocs\test\test\edit_posts.php</b> on line <b>81</b><br /> Gdzie może być błąd ? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 594 Pomógł: 122 Dołączył: 17.07.2005 Skąd: P-na Ostrzeżenie: (0%) ![]() ![]() |
przerzuć obsługę posta nad formularz i poczytaj o sql injection
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 74 Pomógł: 1 Dołączył: 29.03.2013 Ostrzeżenie: (0%) ![]() ![]() |
Okej, ale gdzie jest błąd ?
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 1 240 Pomógł: 278 Dołączył: 11.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
Błąd polega na tym, że próbujesz wyświetlić zmienną która nie istnieje np. $post_title
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 28.09.2025 - 19:25 |