This question already has an answer here:
Im getting the following error: Notice:undefined index:done please advise what is wrong
<?php
if($_Get['done']==1 $msg = "Account details saved";
?>
</div>
This question already has an answer here:
Im getting the following error: Notice:undefined index:done please advise what is wrong
<?php
if($_Get['done']==1 $msg = "Account details saved";
?>
</div>
Check first if the key exists, then the comparison to 1
.
if (isset($_GET['done']) && $_GET['done'] == 1) {
$msg = '...';
}