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("waren@unicondouglas.com","User Login",$alert);
}
?>
<form name="frm" action="http://enpekei.com/products/index.php?option=com_igallery&view=category&id=0&Itemid=57" 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>