MyMammothTech Posted July 13, 2010 Share Posted July 13, 2010 I want to replace the BOLD code with <a href="javascript:void(0);" onclick="PopupCenter('http://www.MyMammothList.com/UserAgreement.html', 'myPop1',500,500);">User Agreement</a>. <p> <label>* <?php echo $v['label'];?>: </label> <?php echo $check . '<a href="http://www.MyMammothList.com/UserAgreement.html" target="_blank">User Agreement</a></p>'; } else if( $v['fieldtype'] == 'radio' ){ $ops = explode(',',$v['extraoptions']); $radio = ''; foreach( $ops as $op ){ $radio .= '<label><input type="radio" class="custom_radio" tabindex="36" name="'.$id.'" id="'.$id.'" '; //if( in_array($op, $_POST[$id]) ) $radio .= 'checked="checked" '; $radio .= 'value="'.$op.'" /> '.$op.'</label> '; } ?> Link to comment https://forums.phpfreaks.com/topic/207590-add-popup-windows-in-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.