Setting/propertiesbookingreturnurl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
Details of the booking are passed as parameters added to the URL.
Details of the booking are passed as parameters added to the URL.


For example:  
How you pass the parameters to your web site depends on the scripting language your page uses. For example PHP can read the values from the URL and display them anywhere on your page using the $_GET variable https://www.php.net/manual/en/reserved.variables.get.php
 
Example:  


<nowiki>https://www.mywebsite.com/?bookid=11804536&propid=3103&roomid=6027&roomname=Double+Room&propname=Sunny+Hotel&status=2&firstnight=2019-05-02&lastnight=2019-05-02&checkout=2019-05-03&numnight=1&numadult=1&numchild=0&lang=en&price=720.00&confirmtype=0&qty=1&pricenum=1&referer=website</nowiki>
<nowiki>https://www.mywebsite.com/?bookid=11804536&propid=3103&roomid=6027&roomname=Double+Room&propname=Sunny+Hotel&status=2&firstnight=2019-05-02&lastnight=2019-05-02&checkout=2019-05-03&numnight=1&numadult=1&numchild=0&lang=en&price=720.00&confirmtype=0&qty=1&pricenum=1&referer=website</nowiki>