I have 3 column of css on my webpage, on the webpage user can enter their comments which will be saved in database. And then the comments from database is retrieve and displayed on the webpage.
My problem is the comments is long and when displayed on the webpage it goes out of bound of the center column.I want it to go under as in paragraph How can this be solved? I think the code that retrieve and displayed the comments should be changed or the database.
My problem is the comments is long and when displayed on the webpage it goes out of bound of the center column.I want it to go under as in paragraph How can this be solved? I think the code that retrieve and displayed the comments should be changed or the database.
Code:
sql2 = "SELECT * FROM Cadangan";
rs = Server.CreateObject("ADODB.Recordset");
rs.Open(sql2,Conn);
out ="<table width="200">";
while(!(rs.EOF))
{
out += "<tr><td>"
out += rs("Cadangan") + "</td></tr>"
out += "<tr><td>" + rs("Nama") + "</td>"
out += "<td>" + rs("Email")
out += "</td></tr>"
rs.MoveNext();
}
out += "</table>"
var line ="<hr>"
rs.Close();
Response.Write(out);
Comment