I jut recently started learning PHP from a book called PHP/MySQL Programming for the Absolute Beginner by Andy Harris.
In one of his samples, he writes that this code should function (I've cut it short a bit):
<html>
<head>
<title>Font Choices</title>
</head>
<body>
<center>
<h1>Font Choices</h1>
<h3>Demonstrates how to read HTML form elements</h3>
<form method = "post"
action = "borderMaker.php">
<h3>Text to modify</h3>
<textarea name = "basicText"
rows = "10"
cols = "40">
blah blah
</textarea>
<input type = "submit"
value = "show me">
</form>
</center>
</body>
</html>
Then in Bordermaker.php something like:
<html>
<head>
<title>Your Output</title>
</head>
<body>
<h1>Your Output</h1>
<center>
<?
print $basicText;
?>
</center>
</body>
</html>
But when i try to run it it says I can't find the $basicText variable.
I'm currently learning PHP with XAMPP running on my computer.
Thanks for any help.