Hi having a bit of a problem what I'm trying to do is once a user has clicked a button the button should show a popup of a form so they might enter a value which is a date so it may be used for future uses and the popup has a submit button so process the action with this code:
if (isset($_POST['unenroll'])){
$sql1="Update tbl_enroll SET status='unEnrolled' , counter='0'
period='$pweek";
$pow = mysql_query($sql1) or die (mysql_error());
}
I am having a problem on how to create the popup so far i have this:
onclick="window.open‘unenroll.php’,‘Unenroll’,
‘menubar=no,width=200,height=100,toolbar=no’)"
So far it just not creating the popup form. would appreciate any help.