# multi-dimensional arrays

Hallo I am Andy and have build my own online life style magazine with Dreamweaver 2004. Within this life style magazine I have connected the [url removed, login to view] [url removed, login to view] Shopping Cart version 3.

I am stuck with a multi-dimensional arrays problem because I am more a designer than a programmer. According to [url removed, login to view] the shopping cart items have to be contemplated and bubble sorted.

I am not sure what that means but I like to achieve this result:

The cart items have to be orderd by categoryID.

Category1

Product A = 3

Product B = 2

Product C = 5

Shipping cost for Category 1 = 10

Category 2

Product D = 5

Product E = 7

Shipping cost for Category 2 = 15

Subtotal= 22

Total shipping cost = 25

Total = 47

At this time the cart items are shown in the order they were added to the cart. With wrong result:

Category1

Product A = 3

Product C = 5

Shipping cost for Category 1 = 10

Category 2

Product D = 5

Product E = 7

Shipping cost for Category 2 = 15

Category1

Product B = 2

Shipping cost for Category 1 = 10

Subtotal= 22

Total shipping cost = 35

Total = 47

As you can see the shipping cost are to much 35 and should be 25.

Is there anyone that can help me fix this sort problem? I have uploaded the [url removed, login to view] file as a preview. Thank you kind regards

Andy Ching

Kemahiran: ASP, Visual Basic, XML

Tentang Majikan:
( 1 ulasan ) -, Netherlands

ID Projek: #54382

xamdam91

Looking forward to working with you

\$50 USD dalam 0 hari
(57 Ulasan)
6.1

## 5 pekerja bebas membida secara purata \$46 untuk pekerjaan ini

mxicoders

Thanks for taking the time to review our bid At MXicoders. We specialize in providing total e-commerce, e-business and branding solutions to small and medium size business worldwide. We are selective about the jobs Lagi

\$50 USD dalam 5 hari
(3 Ulasan)
3.8
ramvinod

we wiull do it for you

\$30 USD dalam 2 hari
(1 Ulasan)
3.3
Kanika1980

View my PMB

\$50 USD dalam 2 hari
(1 Ulasan)
1.9
bcaliman

I think it can be solved.

\$50 USD dalam 3 hari
(0 Ulasan)
0.0