Database output not showing up.
Can anyone tell me why the following is not working as no error comes up on
screen.
I'd added ;
Response.Write("hello!");
in the following code and there is no result from this old chestnut.
The code works in VBScript and is hacked from a database already working but it
needs to be done in JavaScript.
Many thanks,
Richard.
---------------------------------------------------------------------
<%
var dbConn = Server.CreateObject("ADODB.Connection");
dbConn.Open("DSN=xxx-xxxx");
var conn = Server.CreateObject("ADODB.Recordset");
var strSQL = "Select * from PLACES";
var rs = conn.Execute(strSQL);
rs.moveFirst();
Response.Write(rs.street);
Response.Write("hello!");
rs.close();
%>
-----------------------------------------------------------