Jump to content

Add popup windows in php


MyMammothTech

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.