All pastes #339476 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-04 03:02 UTC
rendered paste body
<?php
    //
    // Create a new variable named $id to hold the id data
    if (!$_GET['id']) { $id = 'default'; } // The id is not set in the URL, so set it to the default
    else { $id = $_GET['id']; }

    echo $id;
?>