Ok I have a user management system, but I would like to add a feature to it ok I tryed to but it didn't really work to well. I need an article system on my site. The code that I am using for the article system is very simple...but getting the two codes to be user together is not...ok I need a way to get the the formate to look something like this:

USERNAME
imput area
textarea
textarea

another thing i saw that when I would login the page would say welcome ADMIN so i looked at the code and how it was dispayed was $session->username so I figured if I locked the username field in the addarticle.php file I could display the username and only the username would be POSTED in the DB but i couldnt get that to work eigther. I really need help heres the addarticle.php file:

<form id="FormName" action="added.php" method="post" name="FormName">
<table width="448" border="0" cellspacing="2" cellpadding="0">
<tr><td width = "150"><div align="right"><label for="username">username</label></div></td>
<td><input id="username" name="username" type="text" size="25" value="<?php echo $youremail; ?>" maxlength="255"></td></tr><tr><td width = "150"><div align="right"><label for="date">date</label></div></td>
<td><input id="date" name="date" type="text" size="25" value="" maxlength="255"></td></tr><tr><td width = "150"><div align="right"><label for="title">title</label></div></td>
<td><input id="title" name="title" type="text" size="25" value="" maxlength="255"></td></tr><tr><td width = "150"><div align="right"><label for="body">body</label></div></td>
<td><input id="body" name="body" type="text" size="25" value="" maxlength="255"></td></tr><tr><td width = "150"><div align="right"><label for="comment">comment</label></div></td>
<td><input id="comment" name="comment" type="text" size="25" value="" maxlength="255"></td></tr><tr><td width="150"></td><td>
<input type="submit" name="submitButtonName" value="Add"></td>
</tr></table></form>
    Write a Reply...