![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 1 Dołączył: 29.03.2006 Ostrzeżenie: (0%) ![]() ![]() |
mam problem ze sprawdzeniem danych w bazie danych dokladnie chce sprawdzic czy dany login juz istnieje w bazie danych i mi to nie wychodzi
controller
forms
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 1 319 Pomógł: 118 Dołączył: 26.11.2003 Skąd: Lublin Ostrzeżenie: (0%) ![]() ![]() |
tak działa? a poza tym: nie musisz tego pisać, zend_form sam populuje formularz Ten post edytował my salsa 19.03.2010, 09:04:48 -------------------- scriptun.com. Startup z poradnikami do gier ttp.zone i ttpzone.pl
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 71 Pomógł: 1 Dołączył: 5.04.2007 Skąd: Jarocin Ostrzeżenie: (0%) ![]() ![]() |
my salsa, Db_NoRecordExists
Ten post edytował Master Pain 19.03.2010, 11:05:17 |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 1 Dołączył: 29.03.2006 Ostrzeżenie: (0%) ![]() ![]() |
my salsa jak dodaje twoje rozwiazanie to wyskakuje blad
Fatal error: Uncaught exception 'Zend_Validate_Exception' with message 'Table or Schema option missing!' in /home/cat/domains/xxx/public_html/mm/library/Zend/Validate/Db/Abstract.php:116 Stack trace: #0 [internal function]: Zend_Validate_Db_Abstract->__construct(true) #1 /home/cat/domains/xxx/public_html/mm/library/Zend/Form/Element.php(2095): ReflectionClass->newInstance(true) #2 /home/cat/domains/xxx/public_html/mm/library/Zend/Form/Element.php(1247): Zend_Form_Element->_loadValidator(Array) #3 /home/cat/domains/xxx/public_html/mm/library/Zend/Form/Element.php(1320): Zend_Form_Element->getValidators() #4 /home/cat/domains/xxx/public_html/mm/library/Zend/Form.php(2038): Zend_Form_Element->isValid('', Array) #5 /home/cat/domains/xxx/public_html/mm/application/modules/default/controllers/IndexController.php(24): Zend_Form->isValid(Array) #6 /home/cat/domains/xxx/public_html/mm/library/Zend/Controller/Action.php(513): IndexController->registryAction() #7 /home/c in /home/cat/domains/xxx/public_html/mm/library/Zend/Validate/Db/Abstract.php on line 116 a jak dodaje zozwiazanie Master Pain to wyswietla blad Fatal error: Call to a member function getOrder() on a non-object in /home/cat/domains/xxx/public_html/mm/library/Zend/Form.php on line 1025 moj kod byl poprawny wszystko juz dziala problem byl w pliku indexController ![]() Pozdrawiam |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 231 Pomógł: 22 Dołączył: 6.10.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Napisz własny walidator dla tego pola na oko to będzie z 30 linii kodu |
|
|
![]()
Post
#6
|
|
![]() Grupa: Zarejestrowani Postów: 1 366 Pomógł: 261 Dołączył: 23.09.2008 Skąd: Bydgoszcz Ostrzeżenie: (0%) ![]() ![]() |
Cytat nie musisz tego pisać, zend_form sam populuje formularz Oczywiście gdy użyjesz validate na formularzu ![]() -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 18:56 |