Sill a page break.
Where exactly did you put the if statement?
mine is just below the delete $POST like this:
else
{
if(!empty($_POST['clone'])){
$userID = $_POST['clone']['userId'];
$db->insert("members", ["memberid"=>$userID]);
}
}
and my input is just below the delete label like this:
<label><input type='checkbox' name='clone[userId]' id='clone[<? echo "$userId"; ?>]' value='<?php echo "$userId"; ?>' <?php if (!checkMenu(2,$user->data()->id) || $userId == 1){ ?>disabled<?php } ?>></label>
Where exactly did you put the if statement?
mine is just below the delete $POST like this:
else
{
if(!empty($_POST['clone'])){
$userID = $_POST['clone']['userId'];
$db->insert("members", ["memberid"=>$userID]);
}
}
and my input is just below the delete label like this:
<label><input type='checkbox' name='clone[userId]' id='clone[<? echo "$userId"; ?>]' value='<?php echo "$userId"; ?>' <?php if (!checkMenu(2,$user->data()->id) || $userId == 1){ ?>disabled<?php } ?>></label>