Re: QuickForm_Controller and Smarty, session error

From: Date: Thu, 24 Jun 2004 23:06:30 +0000
Subject: Re: QuickForm_Controller and Smarty, session error
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13330@lists.php.net to get a copy of this message
Trevan Devaun Richins wrote:
Trevan Devaun Richins wrote:
Trevan Devaun Richins wrote:
Bertrand Mansion wrote:
Try: $radio_button[] =& HTML_QuickForm::createElement('radio',null,null,$radio_value,$radio_value); Use an ampersand in front of your function name as well in order to keep the reference to the created elements/groups.
      
Can you try to create the radio buttons exactly like the above and report if it works (2 null parameters, not 3). Bertrand Mansion Mamasam
Ok, I tried that and it looks like it solved the problem for my dummy page, but it didn't solve the problem for the actual page. Plus, I don't want those labels. I want my own that I place using Smarty. Trevan
Also, do you get the same error, if you go to the page? Trevan
Actually, I was wrong. It didn't fix it. It just fooled me for a while, but the error popped up again. Also, I just tried FireFox .9. Trevan If I comment the session_start() at the top of the page, the radio button works as expected and no switching occurs. But when it is on, the switching will occur. Same if I disable cookies and the reenable them.
Trevan

« previous php.pear.general (#13330) next »