Inkless.orgTechnology-based investigation

What do you do?

Inkless is dedicated to the pursuit of analog questions using digital means. Site areas include:

  • Tutorials and techniques
  • Product reviews and walk-throughs
  • Open-source resources and free code
  • Interviews and other original feature content
  • Aggregated news and summary writeups

Upcoming.org ID lookup by city and state

Here’s a simple form that uses POST variables and a PHP Upcoming API wrapper to return city and state IDs from the Upcoming API.

Location (city, state)

We’ve included a link to our code below, so you can see how we do it. You can use our code by including the upcomingLookup.php file and executing the getStateID($state) and getMetroID($city, $state) functions.

Example code

include ('upcomingLookup.php');
echo getStateID("California")

Requirements:


Leave a Reply

Popular
Tags