;(hi! i’am begginer in flash action script and i try to follow this tutorials
http://www.kirupa.com/developer/actionscript/forms_database.htm
but everytime i hit the submit button it’s just keep on opening the asp file and showing the message on the address bar and for some reason it’s not adding up in my data base. actually the database i just downloaded in the tutorials.
i try to transfer every thing in A drive and change the MyPath=Server.MapPath to A drive but my final result is still the same. please help. thanks!
HERE’S MY PROCESSFORM>ASP CODE
<%@language = “VBScript” %>
<%
strFirst = Request.Form(“fname”)
strLast = Request.Form(“lname”)
strEmail = Request.Form(“email”)
strMessage = Request.Form(“message”)
MyPath=Server.MapPath(“a:/example.mdb”)
Set conn = Server.CreateObject(“ADODB.Connection”)
conn.Open “Driver={Microsoft Access Driver (*.mdb)};” & _
“DBQ=” & MyPath
SQL = “INSERT INTO contacts (FirstName, LastName, Email, Message) VALUES (’”&strFirst&"’,’"&strLast&"’,’"&strEmail&"’,’"&strMessage&"’)"
conn.Execute(SQL)
%>