Basically it's just this part not updating or capturing the $who code to insert into the database idk why
Code:
else if($action=="viewmsg")
{
addonline(getuid_sid($sid),"Reading Messages!","");
echo "<form action="message.php?action=viewmsg&pmid=$pminfo[1]" method="post">";
echo "<textarea id="write" cols="25" class="txt-area" rows="3" name="pmtext">";
echo "</textarea>";
echo "<input type="submit" value="Send PM"/>";
Comment