Hi,
I'm writing a simple page for University.
I need it to basically just echo user input from a text box back onto the screen. Here is the code I have so far:
Code blocks are created by indenting at least 4 spaces
... and can span multiple lines
<!DOCTYPE html>
<meta charset='UTF-8'>
<title>Comments</title>
</head>
<body>
<h3>Post Comment</h3>
<form action="index.php" method="post">
<textarea name ="content" rows="3" cols="100"></textarea>
<br>
<input type="submit" value="POST"/>
</form>
</body>
</html>
I have no idea how to get the user input to echo back to the screen. My friend suggested PHP and says it's fairly simple and can be done in a few lines of code.
I attempted to write a PHP code to do this, but it didn't work. I would be greatful if someone could point me in the right direction of where to start.