Notice: Undefined variable:
| From: | Richard West | Date: | Fri, 25 Oct 2002 03:01:05 +0000 |
| Subject: | Notice: Undefined variable: | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16541@lists.php.net to get a copy of this message | ||
Hey, I just installed apache and php on my desktop and everything was
working great. I went to go make a form and I am getting these errors
everytime I try to access one of the variables in the form
Notice: Undefined variable: guest_name in C:\www\book_add.php on line 18
anyone got an idea why its doing it. this is what my form looks like.
<form method=get action="book_add.php">
Your Name: <input name="guest_name" type="text"><br>
Your e-mail: <input name="address" type="text"><br>
Your comments:<br> <TextArea name="comments" cols="50"
rows="5">
</textarea>
<br>
<br>
<input type=submit>
</form>
and my out put it this
<?php $guest_name; ?>
any ideas why I can't access my query variables??
Richard West
ice_dog76@hotmail.com