Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Komunikat po $_POST, Jak wy to robicie?
d.stp
post
Post #1





Grupa: Zarejestrowani
Postów: 358
Pomógł: 0
Dołączył: 19.04.2012

Ostrzeżenie: (0%)
-----


Powiedzmy, że mam zakładkę MOJE DANE. Tam mogę sobie zmienić swoje dane osobowe (zwykły formularz). Po zapisaniu chcę, aby pokazał się komunikat, że ustawienia zostały zapisane. Problem w tym, że do formularza ładuję dane z bazy np. IMIĘ, NAZWISKO, ADRES i jak nacisnę submit ZAPISZ DANE to pojawia mi się komunikat, ale dane formularzu są dalej stare. Dopiero po odświeżeniu strony dane są nowe.

Jak to zrobić?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 561
Pomógł: 6315
Dołączył: 27.12.2004




Dane do formularza laduj po zapisaniu danych, a nie przed. To chyba dosc logiczne.
Go to the top of the page
+Quote Post
d.stp
post
Post #3





Grupa: Zarejestrowani
Postów: 358
Pomógł: 0
Dołączył: 19.04.2012

Ostrzeżenie: (0%)
-----


Hehe, sprytne (IMG:style_emoticons/default/biggrin.gif) (IMG:style_emoticons/default/biggrin.gif) (IMG:style_emoticons/default/biggrin.gif) (IMG:style_emoticons/default/biggrin.gif) (IMG:style_emoticons/default/biggrin.gif) (IMG:style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.12.2025 - 13:47