I've just started learning php and I'm having a problem.
I'm following a tutorial for creating a guestbook with a mysql backend -
everything is set up correctly.
Here's the relevant code for the page where the user types in their name and
<h2>Sign my guestbook</h2>
<input type="text" size=40 name=name>
<input type="text" size=40 name=location>
What I want is the values stored in name and location to be entered into the
In create_entry.php I have this code:
$query = "INSERT INTO guestbook VALUES ('$name', '$location')" ;
Now for some reason the variables ...