I\'m making a form that is supposed to create a javascript alert when some fields aren\'t filled out or filled out properly. I want to be able to take the error messages I\'
alert('{$_SESSION["success"]}');"; unset($_SESSION["success"]); ?>
Use this code it would work correctly