Hi Folks,
I'm having a hard time with performing a function on a string. I've set up an RC4 encryption function that works wonderfully on standard updates through a dedicated form, but I am using Dreamweaver's Insert Record function and it throws everything in an array (which of course is a good idea). What I don't fully understand is how to isolate the field I want to encrypt, and how to apply that function to only that element in the array.
To be more clear, here is the insert loop:
MM_fieldsStr = "namecard|value|Card_Type|value|Card_Number|value| Exp_Month|value|Exp_Year|value|key|value|membertyp e|value|datepurchased|value"
MM_columnsStr = "cust_nameoncard|',none,''|cust_cardtype|none,none ,NULL|cust_cardnumber|',none,''|cust_cardexpirymon th|',none,''|cust_cardexpiryyear|',none,''|cust_su bscriberid|none,none,NULL|cust_membertype|none,non e,NULL|cust_datepurchased|',none,NULL"
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
Next
I know that I need to perform the function on MM_fields(3), but how?!
I hope I'm explaining this correctly.
Thanks,
DataWho!?