|
salam..saya nak mintak tolong berkenaan nak buat radio button.contoh coding:
2)What is your age?:<br>
<?php echo $form->input('age',array('type' => 'radio','options' => array( '18-24'=>'18-24', '25-34'=>'25-34', '35-44'=>'35-44', '45-54'=>'45-54', '55-64'=>'55-64', '65 or older'=>'65 or Older', "Prefer not to answer"=>'Prefer not to answer' ))); ?>
masalah saya adalah output dia jadi panjng:
2)What is your age?:
18-24 25-34 35-44 45-54 55-64 65or older
macamna nk buat output nya kebawah?
2)What is your age?:
18-24
25-34
33-44
saya tengah pratical sekarang.aturcara tak pandai mana. ambik pun majoring Information management je. so mintak tolong expert tunjuk ajar ye. tq |
|