Re: QF: Dynamically generating radio groups?

From: Date: Tue, 21 Oct 2003 19:36:31 +0000
Subject: Re: QF: Dynamically generating radio groups?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8517@lists.php.net to get a copy of this message
Hi! Barry Kafka wrote:
How do I dynamically generate radio group names in my loop? I want my statement to look like this: $hhm_1_gndr[] = $HTML_QuickForm::createElement('radio', $i, null, 'Male', 'male'); and so on, through the end of my loop. I tried the variable variable code below but it didn't work. Maybe it's just a PHP syntax issue.
Exactly, and as such it has *nothing* to do with QF and/or PEAR. The answer is in PHP manual: http://www.php.net/manual/en/language.variables.variable.php

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