Saturday, May 25, 2013
how to save and execute PHP program
1. use notepad for execute the code
2. in notepad
<html>
<head>
<title> PHP Page</title>
</head>
<body>
<from action="test.php" metho ="POST">
Please enter your name:<br />
I am....
<?php echo("<input type="text" name="person" value=" ' . $person . ' " size="15" />");
?>
<input type="submit" value="test!" size="30"/ >
</form>
</body>
</html>
3. save the example.php in Test folder
4. once the file is saved go to the browser and execute the file
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment