Hi,
I want to use css for displaying data from database for better viewing. The problem that i have is it will appear error message when i run it.
The error message is: "Microsoft JScript compilation error '800a03c' Expected';' out="<div class="box">"
-------^
The code that i use as below:
I really hope anyone help because I need to finish assignment since the due date is near.
I want to use css for displaying data from database for better viewing. The problem that i have is it will appear error message when i run it.
The error message is: "Microsoft JScript compilation error '800a03c' Expected';' out="<div class="box">"
-------^
The code that i use as below:
Code:
sql2 = "SELECT * FROM Cadangan";
rs = Server.CreateObject("ADODB.Recordset");
rs.Open(sql2,Conn);
out ="<div class="box">";
out +="<div class="box_content">"
while(!(rs.EOF))
{
out += rs("Cadangan")
out += rs("Nama")
out += " " + rs("Email")
rs.MoveNext();
}
out += "</div>"
out += "</div>"
rs.Close();
Response.Write(out);
Comment