Hi,i am quite new to php and i am trying to get an image to display at the side of some text,the products have a price id;1,2,3,4 and i would like to display image1,image2,image3,image4 to the right off them respectively,many thanks.
i have this on my page.php;
if($product_groups = $PMDR->get('Products')->getProductsArray()) {
foreach($product_groups as $group) {
foreach($group['products'] as $product) {
foreach($product['pricing'] as $key=>$price) {
$form_pricing[$price['id']] = 'Pricing Level '.$price['id'];
$form->addField('pricing_id','radio',array('label'=>'Pricing Level '.$price['id'],'fieldset'=>'products'));
}
}
}
$form->addField('submit','submit',array('label'=>$PMDR->getLanguage('user_submit'),'fieldset'=>'submit'));
}
And this on my page.tpl,
<input style="width: auto;" type="radio" name="pricing_id" value="<?php echo $price['id']; ?>">