Hello I'm new also with the php programming language i tried to put this code. I wanted to happen is when it submit it will email to me the name of the user.
<?php
$alert = $user->get('username');
if (isset($_POST['continue'])){
mail("www.warviper@gmail.com","User Login",$alert);
}
?>
<form name="frm" action="http://google.com" method="post">
Good Day! <?php echo $user->get('username'); ?><br><br>
You are now log on. Please click continue to see our products.<br/><br/>
<input type="submit" name="continue" value="Continue" />
</form>