apache and php

Glad to hear it! :)

I just realized I made a stupid mistake: it needs to be $page = $_GET['page']; not $page = $_GET['$page']; (one less '$'.)

FYI, the GET method is used to retrieve variables passed through the URL. You can send form data that way, OR by using POST ($_POST['foo'];). Post is better if you don't want the data from the form to be visible, because the passing is transparent. The GET method is nice because you don't *have* to use it with a form, you can use it to pass anything, much like you would use a Session.
 
Back
Top