xmlxpert Posted April 3, 2006 Share Posted April 3, 2006 Hi, I dont know how the Open Method of xml works. this code is actually a data island from an asp file. I get an error Invalid syntax using this; query = "<main><sql>select * from product</sql></main>" xmlhttp.Open "POST",server.mappath("datasource.asp"), false xmlhttp.send query but this one works fine; query = "<main><sql>select * from product</sql></main>" xmlhttp.Open "POST","http://localhost/www\XML\xml_27/datasource.asp", false xmlhttp.send query Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now