I usually do this in PHP to handle post parameters...
if (isset($_POST[\'name\'])) { echo \'This is the post section\'; echo \'Output Attributes\';