I have a problem with my asp script that used to insert a data to postgreSQL database.This is the script :
<%
Dim sConnection, objConn , objRS ,sql
sConnection ="DRIVER={postgreSQL};SERVER=localhost;database=sury a;UID=postgres;PASSWORD=admin;port=5432"
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open(sConnection)
sql="insert into test(number,name) values('3','abcd')"
set objRS = objConn.execute(sql)
objRS.close
Set objRS = Nothing
objConn.Close
Set objConn = Nothing
%>
<html>
<body><a href="Laporan Pengaduan.asp">Go</a></body></html>
I've create the form that submit into this script and that script definitly right,but this script always CANNOT BE DISPLAYED.Surely my database is working well, and i could insert the data straightly into postgreSQL.Someone please help me