need help in using css and php?

i'm trying to display comments stored in phpmyadmin and place them in a dialog box. i cant figure out what is wrong with my code.it doesnt display.
$outputList = '';
echo "<div><form method=POST>";
while($row = mysql_fetch_array($sql2)){
$outputList="";
$id = $row["guestID"];
$name = $row["name"];
$age = $row["age"];
$date = $row["date"];
$email = $row["email"];
$comment = $row["comment"];
$outputList .=$name . ',' . $age . ','.$date.'<br>'.$email.'<br>'.$comment.'<br><br>';
echo "<input type=text value=$outputList class=commentbox>";
echo "<a href=\"modify.php?id=".$row['guestID']."\">Modify</a> ";
echo "<a href=\"delete.php?id=".$row['guestID']."\">Delete</a><br><br>";

}echo "</form></div>"; // close while loop
?>
thank you so much
i've tried out the code without the css and it worked.i altered some such as the di,input and form echo...the error might come from there
 
Back
Top