multi dimentional array sort need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the array by the following. i want to sort the array by name and
starlevel.plz help me i am troubled for it.
Array
(
    [0] => Array
        (
            [hotelId] => 9415
            [provider] => localTgsProvider
            [name] => Sahara Hotel & Casino - DEMO
            [address] => DEMO - 2535 Las Vegas Boulevard South Las Vegas
Nevada 89109
            [rooms] => 1720
            [street] => DEMO - 2535 Las Vegas Boulevard South
            [description] => General information:
A Vegas original, the Sahara Hotel and Casino hails from the days of the Rat
Pack of Dean Martin, Frank Sinatra and Sammy Davis Jr. Dating back to 1952,
this venerable, modestly priced institution on the Strip still exudes "old
school" elegance and a little slower pace. The vintage Moroccan theme and
architectural touches are still charming, and so is the roller coaster:
Speed shoots guests right along the Sahara's marquee at more than 70 miles
an hour. 

The 80,000-square-feet casino offers table games, slots, poker, keno, race
and sports book, and low-minimum blackjack. 

Compact for easy access to all facilities and attractions, the Sahara
appeals to guests seeking moderate prices, less noise and slower pace of a
different era.

Location:
The Sahara also sits close to the Fremont Street Experience, an explosion of
more than 2 million lights and a 54,000- watt sound system that provides a
pulsating light-and- music show created to dazzle. 

Area:
At the Sahara, guests also can drive simulated race cars at the Cyber
Speedway and catch the legendary 1950s groups, the Platters, Drifters and
Coaters, in the Congo Room. Las Vegas' first true lounge, the Casbar, still
presents nightly entertainment from smooth jazz to rock. 

Recreation:
To help guests relax, the Sahara's 5,000-square-foot swimming pool is
augmented by a gazebo-covered whirlpool, poolside bar, cabana and a
15-person spa beneath a filigreed wrought-iron dome, perfect for social
soaking. 

The Sahara Hotel & Casino is proud to announce our newest show additions!
Internationally-known comic magician Amazing Johnathan.

Rooms:
Guestrooms come equipped with basic amenities and festooned with
jewel-colored fabrics. Hungry guests can chose from five restaurants,
including the House of Lords, the legendary eatery featuring steak and
seafood in a posh ambience of draped fabric, plush booths and jeweled
lighting. The NASCAR Café includes ribs, chicken, steaks, pasta and
burgers, along with race cars hanging from the ceiling.

“THE PLATTERS, Cornell Gunter’s COASTERS and Beary Hobb’s DRIFTERS”
return to the stage in the legendary Congo Room with some of the top 20 hits
from the ‘50s and ‘60s.

***All rooms must have at least one adult, 21 years of age or older, in
order to check in.***

**There is a Maximum 7 night stay year round and a Minimum 2 night stay. No
arrivals on Saturdays.***

***There is also an energy surcharge of $3.00 and a telephone surcharge of
$1 per room per night payable by guest to the hotel.***

**Please be advised that name and date changes are not permitted by the
hotel over peak dates.**

***Please be advised there are no arrivals on December 30-31, 2006.
Reservations are non-refundable for these dates as well.***



            [city] => Las Vegas
            [state] => NV
            [country] => USA
            [zip] => 89109
            [phone] => 17027372111
            [fax] => 0577971181
            [mobile] => 
            [adPhone] => 
            [image] => Array
                (
                    [0] =>
http://image1.urlforimages.com/9415/Sahara-Hotel-front.jpg
                    [1] =>
http://image1.urlforimages.com/9415/Sahara-Hotel-room.jpg
                    [2] =>
http://image1.urlforimages.com/9415/Sahara-Hotel-roller-coaster.jpg
                    [3] =>
http://image1.urlforimages.com/9415/Sahara-Rest.jpg
                    [4] =>
http://image1.urlforimages.com/9415/Sahara-Pool.jpg
                )

            [Amenity] => Array
                (
                    [0] => Bar
                    [1] => Business Center
                    [2] => Meeting/Banquet Facilities
                    [3] => Non Smoking Rooms
                    [4] => Restaurant(s)
                    [5] => Room Service
                    [6] => Safe Deposit Box
                    [7] => Laundry/Valet
                    [8] => Swimming Pool
                    [9] => 24-Hour Front Desk
                    [10] => Gift/Sundry Shop
                    [11] => Spa
                    [12] => Ice Machine
                    [13] => Parking
                    [14] => Casino
                )

            [Room] => Array
                (
                    [0] => Array
                        (
                            [name] => Standard
                            [maxGuest] => 4
                            [Facility] => Array
                                (
                                    [0] => Air Condition
                                    [1] => Cable/Satellite TV
                                    [2] => Hairdryer
                                    [3] => In-Room Pay Movies
                                    [4] => Iron & Ironing Board
                                    [5] => Private Bath
                                    [6] => Telephone + Voice Mail
                                )

                        )

                    [1] => Array
                        (
                            [name] => New Years
                            [maxGuest] => 4
                            [Facility] => Array
                                (
                                    [0] => Air Condition
                                    [1] => Cable/Satellite TV
                                    [2] => Hairdryer
                                    [3] => In-Room Pay Movies
                                    [4] => Iron & Ironing Board
                                    [5] => Private Bath
                                    [6] => Telephone + Voice Mail
                                )

                        )

                    [2] => Array
                        (
                            [name] => New Years Special
                            [maxGuest] => 4
                            [Facility] => Array
                                (
                                    [0] => Air Condition
                                    [1] => Cable/Satellite TV
                                    [2] => Hairdryer
                                    [3] => In-Room Pay Movies
                                    [4] => Iron & Ironing Board
                                    [5] => Private Bath
                                    [6] => Telephone + Voice Mail
                                )

                        )

                )

            [category] => Moderate
            [bestVal] => 1
            [thumb] =>
http://image1.urlforimages.com/9415/Sahara-Hotel-front_Thumbnailed.jpg
            [starsLevel] => 3
            [minAverPrice] => 47.39
            [desc] => DEMO - Every Night's a Party! The Sahara Hotel and
Casino is a landmark Las Vegas property having opened in 1952 on the Las
Vegas Boulevard.
            [location] => The Strip,Las Vegas,NV,US
            [currency] => 
            [brandId] => 0
            [brandName] => 
            [RoomType] => Array
                (
                    [1] => Array
                        (
                            [productId] => 9415;7728;7744
                            [name] => Standard
                            [nights] => 3
                            [startDate] => 2007-12-10T00:00:00-05:00
                            [isAvailable] => true
                            [roomId] => 3
                            [hotelRoomTypeId] => 7728
                            [Avail] => Array
                                (
                                    [0] => Array
                                        (
                                            [offset] => 0
                                            [status] => true
                                        )

                                    [1] => Array
                                        (
                                            [offset] => 1
                                            [status] => true
                                        )

                                    [2] => Array
                                        (
                                            [offset] => 2
                                            [status] => true
                                        )

                                )

                            [Occup] => Array
                                (
                                    [0] => Array
                                        (
                                            [occupId] =>
9415;7728;7744;2;2;0;2
                                            [maxAdult] => 4
                                            [maxChild] => 2
                                            [price] => 142.17
                                            [tax] => 11.73
                                            [dblBed] => false
                                            [avrNightPrice] => 47.39
                                            [Room] => Array
                                                (
                                                    [seqNum] => 1
                                                    [adultNum] => 2
                                                    [childNum] => 0
                                                )

                                            [Price] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [offset] => 0
                                                            [value] => 47.39
                                                        )

                                                    [1] => Array
                                                        (
                                                            [offset] => 1
                                                            [value] => 47.39
                                                        )

                                                )

                                        )

                                    [1] => Array
                                        (
                                            [occupId] =>
9415;7728;7744;2;2;0;1
                                            [maxAdult] => 4
                                            [maxChild] => 2
                                            [price] => 142.17
                                            [tax] => 11.73
                                            [dblBed] => true
                                            [avrNightPrice] => 47.39
                                            [Room] => Array
                                                (
                                                    [seqNum] => 1
                                                    [adultNum] => 2
                                                    [childNum] => 0
                                                )

                                            [Price] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [offset] => 0
                                                            [value] => 47.39
                                                        )

                                                    [1] => Array
                                                        (
                                                            [offset] => 1
                                                            [value] => 47.39
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [1] => Array
        (
            [hotelId] => 961
            [provider] => localTgsProvider
            [name] => Circus Circus Hotel - DEMO

-- 
View this message in context: http://www.nabble.com/multi-dimentional-array-sort-need-help-tf4791126.html#a13705792
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux