Posted by Mike P2 on 05/01/07 20:41
On May 1, 4:37 pm, Mike P2 <sumguyovrt...@gmail.com> wrote:
> if( '1' == $tval )
> echo "<input type='checkbox' id='traits[$tid]' value='1'
> checked='checked'>Good</input><br />";
> else
> echo "<input type='checkbox' id='traits[$tid]' value='1'>Good</
> input><br />";
> if( '2' == $tval )
> echo "<input type='checkbox' id='traits[$tid]' value='2'
> checked='checked'>Bad</input><br />";
> else
> echo "<input type='checkbox' id='traits[$tid]' value='2'>Bad</
> input><br />";
> if( '3' == $tval )
> echo "<input type='checkbox' id='traits[$tid]' value='3'
> checked='checked'>Neutral</input>";
> else
> echo "<input type='checkbox' id='traits[$tid]' value='3'>Neutral</
> input>";
Oops...I meant "type='radio'".
-Mike PII
Navigation:
[Reply to this message]
|