My server script is generating an error that I can only see part of in the response string. Can anyone see anything wrong with these lines of code? (vbscript server side)
Set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open ("c:/inetpub/wwwroot/HawksWeb/Data/WebData.mdb")
SQL = "Insert Into Cart (CustID-ProdID-Qty) Values ( "&CustID&" - "&ProdID&" - "&Qty&" )"
conn.Execute(SQL)
Set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open ("c:/inetpub/wwwroot/HawksWeb/Data/WebData.mdb")
SQL = "Insert Into Cart (CustID-ProdID-Qty) Values ( "&CustID&" - "&ProdID&" - "&Qty&" )"
conn.Execute(SQL)
Set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open ("c:/inetpub/wwwroot/HawksWeb/Data/WebData.mdb")
SQL = "Insert Into Cart (CustID-ProdID-Qty) Values ( "&CustID&" - "&ProdID&" - "&Qty&" )"
conn.Execute(SQL)
Set conn=Server.CreateObject ("ADODB.Connection")
conn.Provider= "Microsoft.Jet.OLEDB.4.0"
conn.Open ("c:/inetpub/wwwroot/HawksWeb/Data/WebData.mdb")
SQL = "Insert Into Cart (CustID-ProdID-Qty) Values ( "&CustID&" - "&ProdID&" - "&Qty&" )"
conn.Execute(SQL)
Set conn=Server.CreateObject ("ADODB.Connection")
conn.Provider= "Microsoft.Jet.OLEDB.4.0"
conn.Open ("c:/inetpub/wwwroot/HawksWeb/Data/WebData.mdb")
SQL = "Insert Into Cart (CustID-ProdID-Qty) Values ( "&CustID&" - "&ProdID&" - "&Qty&" )"
conn.Execute(SQL)
Thanks for your interest- Electricians knocked out the power and my comp about a week and 1/2 ago. When one reinstalls ones operating system one should be certain permissions on ones server are correct!
I m trying my hands on ajax particularly on prototype frameworks. I ve been googling and yahooing basic tutorials to get me started but all I got are form-based samples. Now can someone pls help me with a prototype function that seperates java from this simple link:
<a href="greeting.php?name=time"
onclick="new Ajax.Updater( testdiv - greeting.php?name=time -
{asynchronous:true- evalScripts:true }); return false;">
Tnx in advance
of course there is java in it Oracle12 onClick is a java event handler in case you don t know anyway i got the solution :
function loadContent(name) {
startLoading();
new Ajax.Updater( mainAreaInternal - greetings.php - {method: post - postBody: name= + name + });
finishLoading();
}
and my new link will be like this:
<span style="cursor: pointer" onClick="loadContent(myname);">My Link</span>
and greetings.php will echo myname well hope this helps and I love prototype ...
Abigail Russel
Ajax Valentine
Gisele Decourmant (french; pronounced Dee-Core-maunt)
Demetrius McRoy
Leon Brant
Pick your favorite (or favorites) and describe what kind of character would match that name.
I want to set a web server on my computer. Which do you think is the best web server I can get?
The server must be compatible with servlets- ASP.Net- Javascript & AJAX.
Thanks.
im well versed in HTML- css- js- java- vb- sql and php- id like to integrate ajax with php or i can learn asp.net pretty easily. anyone know of a good place to learn it?
i learn good from looking at code and microsoft s site [as usual] was crap
No comments:
Post a Comment