Antonn schreef:Ja, bij mij ligt het er ook uit!Bij NOC welEerdere citaten tonen
Bewaakertje schreef:Server 2 ligt er bij mij niet uit?
Boeien, ik heb geen webhosting op server 2

Antonn schreef:Ja, bij mij ligt het er ook uit!Bij NOC welEerdere citaten tonen
Bewaakertje schreef:Server 2 ligt er bij mij niet uit?

Maar hij staat weer op groen bij noc.
Xjessex schreef:Zal er wel iets mis zijn geweest met de noc?Ik wel, en die werkte gewoonMaar hij staat weer op groen bij noc.
13:Lennard schreef:Wist hetJa foutje, thanks




Wel overzichtelijk:[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/class"]class[/URL] Application_Form_Login extends Zend_Form
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] init[COLOR= #007700]()
{[/COLOR]
[COLOR= #0000BB]$usernameLabel[/COLOR] [COLOR= #007700]= new[/COLOR] Zend_Form_Element_Text[COLOR= #007700]([/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]label[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Gebruikersnaam[/COLOR]
[COLOR= #007700]));[/COLOR]
[COLOR= #0000BB]$passwordLabel[/COLOR] [COLOR= #007700]= new[/COLOR] Zend_Form_Element_Password[COLOR= #007700]([/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]label[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Wachtwoord[/COLOR]
[COLOR= #007700]));[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]addElements[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #0000BB]$usernameLabel[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #0000BB]$passwordLabel[/COLOR]
[COLOR= #007700]));
}
}[/COLOR]
?> [COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/class"]class[/URL] IndexController extends Zend_Controller_Action
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] init[COLOR= #007700]()
{[/COLOR]
[COLOR= #FF8000]/* Initialize action controller here */[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] indexAction[COLOR= #007700]()
{[/COLOR]
[COLOR= #0000BB]$form[/COLOR] [COLOR= #007700]= new[/COLOR] Application_Form_Login[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]view[COLOR= #007700]->[/COLOR]form [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$form[/COLOR][COLOR= #007700];
}
}[/COLOR] 
Raaoul schreef:En dan in je controller voeg je de form toe aan je viewWow in zend maak je forms in een apart bestandWel overzichtelijk:
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/class"]class[/URL] Application_Form_Login extends Zend_Form [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] init[COLOR= #007700]() {[/COLOR] [COLOR= #0000BB]$usernameLabel[/COLOR] [COLOR= #007700]= new[/COLOR] Zend_Form_Element_Text[COLOR= #007700]([/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]label[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Gebruikersnaam[/COLOR] [COLOR= #007700]));[/COLOR] [COLOR= #0000BB]$passwordLabel[/COLOR] [COLOR= #007700]= new[/COLOR] Zend_Form_Element_Password[COLOR= #007700]([/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]label[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Wachtwoord[/COLOR] [COLOR= #007700]));[/COLOR] [COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]addElements[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #0000BB]$usernameLabel[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$passwordLabel[/COLOR] [COLOR= #007700])); } }[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/class"]class[/URL] IndexController extends Zend_Controller_Action
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] init[COLOR= #007700]()
{[/COLOR]
[COLOR= #FF8000]/* Initialize action controller here */[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] indexAction[COLOR= #007700]()
{[/COLOR]
[COLOR= #0000BB]$form[/COLOR] [COLOR= #007700]= new[/COLOR] Application_Form_Login[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]view[COLOR= #007700]->[/COLOR]form [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$form[/COLOR][COLOR= #007700];
}
}[/COLOR] Jvdw schreef:Ja een hele goede vriend van me, hij heet Google spreek hem eens even aan.Iemand die versand heeft van forms in fancybox?