<!-- From "User-Friendly Form Validation with PHP and CSS" at
     http://www.onlamp.com/pub/a/php/2004/04/22/php_css_forms.html -->

<!-- This template provides an alternate, simpler implementation using
     the PSE development model and syntax. -->

<html>
<style>
    .basictext {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px; color:#000066;
    }
    .errortext {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px; color:#C00000; font-weight: bold;
    }
</style>
<body>
<form action="email.pt" method="post">

    <!-- The altered syntax is here -->
    <? if message: ?>
    <span class="errortext"><?=message ?><span><br>
    <? :if ?>

    <span class="=emailclass">
        Email address:</span>
    <input name="email" type="text"
        class="=emailclass"><br>

    <span class="basictext">Your name:</span>
    <input name="name" type="text" class="basictext"
        value="=username"><br>
    <input type="hidden" name="process" value="1">
    <input type="submit" name="Button1" value="Sign up!">
</form>
</body></html>