Files
WMU-CS4430-Project/var/www/sendMessage.php
2019-11-25 14:19:03 -05:00

31 lines
535 B
PHP

<!DOCTYPE html>
<html>
<body>
<style>
body {
background-color: #3B5998;
}
</style>
<h2><font color="white">Send a message</h2>
<form method="post" action="messageSender.php">
Who are you sending it to?: <br><input type="text" name="name" value="<?php echo $name;?>">
<br><br>
Message: <br><textarea name="message" rows="5" cols="40"><?php echo $message;?></textarea>
<br><br>
<input type="submit" name="submit" value="Submit">
</form>
<?php
echo $name;
echo "<br>";
echo $message;
echo "<br>";
?>
</body>
</html>