Simple, you can use $_GET method.
if(isset($_GET["origin_iata"]) && !empty($_GET["origin_iata"]) && isset($_GET["destination_iata"]) && !empty($_GET["destination_iata"]))
{
echo "Flights from ".$_GET["origin_iata"]." to ".$_GET["destination_iata"]."...";
}
Related Posts:
- use query string in URL to display content on the page
- Why “?v=hash” is added to my URLs? [closed]
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- urlencode query string in gravity forms confirmation redirect
- Dynamically change page title from URL param
- how to make URL link query string
- 404 error when passing “cat” parameter to URL
- How to add URL-Parameter for Javascript Widgets?
- HTTP 403 Error when passing parameters to URL
- WordPress get parameter ‘unapproved’ and ‘moderation-hash’
- How to parse a custom url (within WP site) and obtain params passed to that URL
- Passing values through url for checkbox fields with same name to get?
- Custom HTML title based on URL parameter
- How to get a page url segment on wordpress?
- Different url to same page (with dynamic content)
- Add a paramter to page url
- Why “?v=hash” is added to my URLs? [closed]
- Add more than one query parameter onto wordpress url
- Set A Cookie To URL Parameter, Pass Cookie From Page To Page To Alter Post
- Use URL parameter to create dynamic content
- Pass post title as URL parameter
- How to pass parameters thru URL?
- Duplicate pages with ?s parameter
- help me remove this additional parameter in url
- Problem with guids and absolute links
- WPML Get url without outputting
- Weird: /?name in URL leads to blog
- I am Looking to append URL Parameter to all URLs
- Is dynamic URL possible in WordPress
- Accessing the Current URL in a Text Widget for a Facebook Share Button?
- Is ‘name’ a reserved word in URL’s?
- Add custom URLs to WordPress’s XML sitemap
- How to create a custom page base on URL for WordPress?
- How to make menu items active based on hash
- Use image url with add_image_size
- Multiple domain names for one site
- How to always rewrite author archive page URL even if the author does not have a post
- Special domain for a page
- How to server wordpress from SSL and non-SSL URLs
- Author Nickname URL Friendly
- Moving a test WP site to live
- How do I write the link from front-page.php to home.php?
- How do I link to a blog not set as the homepage?
- Updating URLs in many posts
- Problem with change url for all subpages (.htaccess)
- Displaying Post with Custom URL with RewriteRule or add_rewrite_rule
- Is there a link parameter that will show me all my published pages?
- Save URL into database
- How to get URL for the first page of post archive
- Imported 10 000+ posts, custom field showing link not displayed
- Newline URL entity when using esc_url()
- How to auto gen. custom post type values in other custom post type in url?
- previous_posts_link and next_posts_link, how to return the next/previous post’s title as the url
- hide wp-content from urls
- Changing the website URL to the root folder
- URL issue after migrating to dev site
- Renamed my website (URL) – how do I rename all within-page links to the old URL?
- Moving a WordPress site – Installation issue
- What can I replace ‘.get_bloginfo(‘url’).’ with to return the current URL rather than the home address?
- How to get CGI variables?
- What is the best way to figure out which template file that a “pretty permalink” is using?
- WordPress Subcategory Creates 2 urls for same page (serious issue)
- What php gets called for home_url/somepage URL?
- How to create custom search result page with custom URL parameters for custom post type?
- How to see an item in the admin from its URL? (not sure if it’s a page, post, or what)
- Cannot access WordPress website from external IP while internally it is working properly [closed]
- Pass form input via url variable
- Rewrite Most WordPress URLs
- Use wp_redirect to add a parameter
- Wrapping add_query_arg with esc_url not working
- How to make WordPress urls matching static html urls
- How to pass on a value as parameter via url to another page
- Hook for feed creation?
- How can I prepopulate the URL address for the add media button
- How to show Specific URL of WordPress on Any one Specific IP only?
- Go back to my home page
- Changed domain name and all the 301 redirects work except the ones for the thumbnail image which return 403 Forbidden error
- Thousands of unwanted URLs/pages with “0” in slug created
- Mapping a domain name
- How to remove % character from url
- Can non-latin characters appear in slugs?
- How do I rewrite URL that has custom parameter
- how to set url in admin option page
- How to properly setup MAMP and XIP
- mysterious issue with stop words in urls not working – how can I restore multiple url access?
- What does this structure of the URL mean? http://www.example.com/?i=0
- How to create URL for Pages/Posts
- Private Messages between users
- Navigation and Permalink not getting correctly
- How to create a dedicated folder for specific role via registration
- WordPress custom form post to different page
- Two domain site: Link base URLs point to wrong domain
- How to set global variable in functions.php
- Duplicate content with the same URL, google authorship
- Using functions concatenated with strings inside a variable
- Modify WordPress to not replace + (plus) characters from URLs?
- How to generate external url in WordPress
- append $_GET parameters to post
- How can I implement an Article Wizard for non-existing URLs? [closed]
- What purpose does /embed/ URL have and how to avoid SEO problems?