<input type='hidden' name='username' value='<?php echo $_SESSION['login_username']; ?>' />and then my php
<?php mysql_connect("*****************,"*****************","**********************"); mysql_select_db("*********); $username = $_POST['username']; $message = mysql_real_escape_string($_POST['lname']); mysql_query("INSERT INTO shoutbox VALUES ('$username','$message')") or die("Problem"); ?>it goes into the database BUT the username in the database.. where in the column it should say ashwood as the username is says undefined but the message shows the message..
whats the problem? thanks