Multiple selection list Insertion

<select name=’selExpType[]’ id=’selExpType[]’ multiple=”multiple” size=’4′ ><option></option></select>$catIdA = $p[‘selExpType’];
$catIds = “”;
if ( $catIdA ){
foreach ($catIdA as $catId) { $catIds.=”$catId,”; }

}

NB:-The output will be “$catIds} = the values are concatnated with comma

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *