PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
if I need to use this part of code a few time , call i make it as function, or including able page
if($A !=$B){
$to = "{$mail}";
$subject = "subject";
$message = "Hi {$name}, how are you";
$from = "asp@hotmail.com ";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
}
how to do that?