How to integrate hotels at my site ????????

Discussion in 'PHP' started by dineshsingh1984, Oct 10, 2012.

  1. #1
    I want to add indian hotels at my site so please tell me how to integrate all hotels........


    plz help me................
     
    dineshsingh1984, Oct 10, 2012 IP
  2. plussy

    plussy Peon

    Messages:
    152
    Likes Received:
    5
    Best Answers:
    9
    Trophy Points:
    0
    #2
    just add this code.

    
    <?php
    
     $hotels = import('Hotels','Asia/India');
    
     foreach ($hotels as $hotel) {
       
         $hotel->loadDetails(array('management'=>'true'));
    
     }
    
    ?>
    
    PHP:
    No serious you need to add a lot more information about what your site is and how it is programmed ( I assume its a custom one in php but you could also use wordpress or any other cms ).

    And what do you mean with integrate? do you mean show prices and availability etc? ability to book them from your site??
     
    plussy, Oct 10, 2012 IP
  3. And!

    And! Well-Known Member

    Messages:
    562
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Join some hotel affiliate program that has white label program, and add their code to your site.
     
    And!, Oct 10, 2012 IP
  4. plussy

    plussy Peon

    Messages:
    152
    Likes Received:
    5
    Best Answers:
    9
    Trophy Points:
    0
    #4
    Yeah including you!
     
    plussy, Oct 10, 2012 IP
  5. Drent123

    Drent123 Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    We can advertise the hotel on our sites.
     
    Drent123, Oct 10, 2012 IP