Beggininng PHP
I have a problem.
i'm tryin' to learn some PHP from the beginning.
After installation of Apache 1.3 and PHP 4.3.10, phpinfo is shown in the browser with command phpinfo().
it's ok.
But no variable is sent with any form to the .php file.
instead of variables I see nothing
example.
the index.htm file is:
<html>
<head></head>
<body>
<form method=get action="text.php">
blablabla
<input type="text" name="sth">
<br>
<input type=submit>
</form>
</body>
</html>
the text.php file is:
<html>
<body>
Twoj ulubiony autor to:
<?php
echo $sth;
?>
</body>
</html>
In result I see only blablabla
Yo
__________________
Yo
|