forms problem

im new to php and have a problem

i have this code

[php]<?
echo $this->makeInput (
/* type /
‘textarea’,
/
attributes */
array(
‘id’ => ‘home_address’,
‘default’ => ‘’,
‘attr’ => array(
‘cols’ => 40,
‘rows’ => 3,
),
)
);
?>[/php]

i need to change this from a text box to checkbook or downtrodden with 2 options
im trying to learn how to but i cant make it

you can’t change textarea to checkbox? remove the attr array too since its relavent to that type;

Explain exactly what your trying to do in plain english cause I don’t understand the purpose from your code.

It looks like something from wordpress, but basically its an array that creates a textarea input box 40x30. The poster wants to change it so that it creates checkboxes instead.

Sponsor our Newsletter | Privacy Policy | Terms of Service