Echoing the user input through php
By admin | February 1, 2008
Php is very powerful when it comes to handling of forms. It can check user input check for illegal characters and can also help in uploading of files. Which i am going to teach you in later chapters. But for today we are going to study how to how to echo user input.
form.php
<html>
<head>
</head>
<body>
<form action=”process.php” method=”get”>
<input type=”text” name=”textfield” />
</form>
</body>
</html>
process.php
<html>
<head>
</head>
<body>
<?php
$something=”$_[‘textfield’]”;
echo $something;
?>
</form>
</body>
</html>
Thanks
krates
Topics: PHP | Comments Off on Echoing the user input through php
Related Links: