954,174 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Simple associative array

Hi folks,
Im basically a php programmer. So im very new to asp and vbscript. I had a project to create something in php and asp. I was able to get it done in php but im struggling with asp.

I need to create a array to send to an API.

In php the array is like this.

Array
(
    [auth] => Array
        (
            [key] => jf93j
            [user] => 169
            [password] => lxter4
        )

    [module] => Array
        (
            [module] => account
            [command] => getAccountDetails
        )

    [data] => Array
        (
        )

)


How can I create this in vbscript.

Ive been checking out scripting.dictionary. But still not getting the hang of it.

blessan
Newbie Poster
8 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Well I got it my self using Scripting dictionary

blessan
Newbie Poster
8 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Nice of you to post the solution.

ArtistScope
Junior Poster
150 posts since Jun 2010
Reputation Points: 5
Solved Threads: 14
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You