I am in need of development and construction of a "flight booking form" identical in function to:
eg. [[login to view URL]][1]
As you may observe, no data is returned on the site, the form simply redirects the visitor to their appropriate affiliate link ay [login to view URL]
I have an XML file specifically made for my client with the affiliate flight data that I would imagine needs to be parsed/uploaded to a mySQL database eventually contained on the clients server.
I also have XHTML and jquery from the form shown in [[login to view URL]][1], so only the PHP needs to be written (I think)
You can see the empty form here [[login to view URL]][2]
After user input the form would then request the relevant affiliate link from the relevant flight in the database and send them to [login to view URL]
The form and database can be developed on my server or your own server initially. CSS tags would be necessary so I can style the form.
A further requirement would be to set up a cron job to update the database with a new XML file from given address.
## Deliverables
XML Sample:
Here is an sample of the XML feed, only the fields that would be needed to create the form are necessary, some may be redundant. I can send the feed with any redundant field removed if required.
<?xml version="1.0" encoding="utf-8" ?>
<products>
<flight>
<url>[login to view URL]</url>
<keywords>Benbecula, BEB, Barra, BRR, BE6903, Loganair, direct flight, Economy, 2011-02-15, GBP</keywords>
<lastUpdated>14/02/2011 16:55:30</lastUpdated>
<departureAirport>Benbecula</departureAirport>
<departureAirportCode>BEB</departureAirportCode>
<arrivalAirport>Barra</arrivalAirport>
<arrivalAirportCode>BRR</arrivalAirportCode>
<departureDate>15/02/2011</departureDate>
<departureTime>11:00:00</departureTime>
<arrivalTime>11:20:00</arrivalTime>
<adults>1</adults>
<children>0</children>
<infants>0</infants>
<fareType>Economy</fareType>
<currency>GBP</currency>
<price>24.99</price>
<taxes>14.63</taxes>
<debitCardFee>0.00</debitCardFee>
<creditCardFee>4.00</creditCardFee>
<visaElectronFee>0.00</visaElectronFee>
<firstCheckinBagFee>0.00</firstCheckinBagFee>
<subsequentCheckinBagFee></subsequentCheckinBagFee>
<maximumCheckinWeightKg>15</maximumCheckinWeightKg>
<seatPrebookingFee>6.00</seatPrebookingFee>
<exitSeatPrebookingFee>6.00</exitSeatPrebookingFee>
<direct>yes</direct>
<legs>
<leg>
<departureAirport>Benbecula</departureAirport>
<departureAirportCode>BEB</departureAirportCode>
<arrivalAirport>Barra</arrivalAirport>
<arrivalAirportCode>BRR</arrivalAirportCode>
<departureTime>11:00:00</departureTime>
<arrivalTime>11:20:00</arrivalTime>
<flightNumber>BE6903</flightNumber>
<airline>Loganair</airline>
</leg>
</legs>
<totalDuration>0 hours 20 minutes</totalDuration>
</flight>
</products>