# 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

( 1 comentário ) -, Netherlands

ID do Projeto: #54382

## Concedido a:

xamdam91

Looking forward to working with you

\$50 USD em 0 dias
(57 Comentários)
6.1

## 5 freelancers estão ofertando em média \$46 para esse trabalho

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 Mais

\$50 USD in 5 dias
(3 Comentários)
3.8
ramvinod

we wiull do it for you

\$30 USD in 2 dias
(1 Comentário)
3.3
Kanika1980

View my PMB

\$50 USD in 2 dias
(1 Comentário)
1.9
bcaliman

I think it can be solved.

\$50 USD in 3 dias
(0 Comentários)
0.0