Or you can do it with an HTML form.PHP Code:
<?php
$name = $argv[1];
echo 'Hello, ' . $name . ".";
?>
1st file:
2nd file:PHP Code:
<html>
<body>
<form action="php.php" method="post">
Name: <input type="text" name="personsname">
<input type="submit">
</form>
</body>
</html>
PHP Code:
<html>
<body>
Hello, <?php echo $_POST["personsname"]; ?>!
</body>
</html>
Results 1 to 38 of 38
Hybrid View
- 28 Jul. 2013 03:11pm #1
Last edited by imbaimba; 28 Jul. 2013 at 03:17pm.