rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><body><?PHP function mailer($sender="",$subject="",$content="") {?><form action="test.php" method="post"> <input type="text" name="sender" value="<?PHP echo '"echo $sender"';?>" /> <input type="text" name="subject" value="<?PHP echo '"echo $subject"';?>" /> <textarea name="mailcontent"> <?PHP echo $content?> </textarea> <input type="submit" name="submit" /></form><?PHP} if(!isset($sender)) { echo 'Subject belum di isi'; mailer(); }else{ echo 'MSG Sent'; } ?></body></html>