# 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

Færdigheder: ASP, Visual Basic, XML

Om arbejdsgiveren:
( 1 bedømmelse ) -, Netherlands

Projekt-ID: #54382

## Tildelt til:

xamdam91

Looking forward to working with you

\$50 USD in 0 dage
(57 bedømmelser)
6.1

## 5 freelancers are bidding on average \$46 for this job

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 Mere

\$50 USD in 5 dage
(3 bedømmelser)
3.8
ramvinod

we wiull do it for you

\$30 USD in 2 dage
(1 bedømmelse)
3.3
Kanika1980

View my PMB

\$50 USD in 2 dage
(1 bedømmelse)
1.9
bcaliman

I think it can be solved.

\$50 USD in 3 dage
(0 bedømmelser)
0.0