I have a data coming from array like following :
(AuthName1,AuthAddr1,AuthEmail1~AuthName2,AuthAddr2,AuthEmail2~)
so i split it using the following code:
<%
dim authinfo
dim arr1
arr1 = Split(authinfo,"~")
for each item in arr1
response.write item
response.write ("<br>")
next
%>
It give the following result :
AuthName1,AuthAddr1,AuthEmail1 AuthName2,AuthAddr2,AuthEmail2
then i update the above code as following to split each part :
<%
dim authinfo
dim arr1
arr1 = Split(authinfo,"~")
for each item in arr1
arr2 = split(item,",")
for each item2 in arr2
response.Write item2
response.Write ("<br>")
response.write ("<br>")
next
%>
what i want is insert each item in (arr2) into a database table using sql, that table is (ID, AuthorName, AuthorAddress, AuthorEmail)