hi..its me again...ok let me explain...
1stpage:userlogin-user login using their ID and password.
2ndpage-fill in page-in this page all the particular about user will display.How i do it..I select from database use $SESSION['ID'] and i got the output..the function was working so fine...but the problem is...i cant make the data fixed...that means..user cant edit the displayed data..
<input name="prepare_by" value="<?
$sql10="Select * from employee where ID ='$_SESSION[username]'";
$query10 = mysql_query($sql10) or die mysql_error());
$result10 = mysql_fetch_assoc($query10);
echo $result10['prepare_by'];
?>" />
if i do like this the data displayed in the form where u can edit it...and when i took out the form..
<? $sql10="Select * from employee where ID ='$_SESSION[username]'";
$query10 = mysql_query($sql10) or die mysql_error());
$result10 = mysql_fetch_assoc($query10);
echo $result10['prepare_by'];
?>
the data displayed without the form and it fixed...so the user cant edit it...but it not stored in the database...it was empty in database...i was confused...i try to google but cant find the answer...anyone out there can help me...thanks in advanced