<?php $form = new FormBuilder("login", "", "post"); $form->buildComment("username: ", FALSE) ->buildTextField("username") ->buildComment("password: ", FALSE) ->buildPasswordField("password", "pass", "", TRUE) ->buildButton("Submit", "submit", "submit"); echo "<u>Simple Login Form:</u> <br>"; echo $form->render(); ?>