T_PRINT 構文エラーについて検索しましたが、何も見つかりません。というわけで、これがどのように「予想外」なのかわかりません。「Your Staff Application has been posted」などの行を参照しています。
<?php
session_start();
include "globals.php";
if($_POST['app'])
{
$db->query("INSERT INTO staffapps VALUES('',$userid,'{$_POST['pos']}','{$_POST['app']}')", $c)
or die
("Your staff application could not be processed. Make sure you have filled out the form completely!");
print "Your Staff Application has been posted for our staff to review, your results will be decided within 14 days! Good Luck!";
}
else
print "<h3>Staff Application</h3>
<center><h8><b>Please read the <a href='stafftoc.php'><font color='yellow'>Terms & Conditions</font></a>before sending an application!</b>
<form action='staffapps.php' method='post'>
Position <select name='pos'><option value='3'>Admin</option><option value='5'>Secretary</option><option value='6'>Assistant</option></select>
Why do you deserve the position?
Please bare in mind that staff look for professional members so be sure to spell correctly with the right grammar and punctuation!
If your staff application appears un-professional, it will be dismissed!
<textarea rows='7' cols='40' name='app'>{$_GET['app']}</textarea>
<input type='submit' value='Submit Application' /></form>";
$h->endpage;
?>