Here is the code that I use for Movies.app (I tried to comment it to
make it clearer)

<?php

require_once('functions.php'); // get the file with all of the
functions
if ( isset($_GET['z']) && isset($_GET['t']) ) { // if z and t (zipcode
and theater) are set
        if ( isset($_GET['d']) ) { // if d (date) is set
                getMovieInfo($_GET['z'], $_GET['d']); // get the movie info for 
the
zipcode and date (will store in cache file)
        } else {
                getMovieInfo($_GET['z']); // get the movie info for the zipcode
(assume date is today, will store in cache file)
        }

        if ( isset($_GET['m']) && isset($_GET['t']) ) { // if m and t (movies
and theater) are set
                printListingInfo($_GET['m'], $_GET['t']); // print out the 
listing
info for the specific movie and theater using cache file
        } else {
                printMoviesForTheater($_GET['t']); // print out the list of 
movies
for the theater using cache file
        }
} else {
        echo '<ul id="error" title="Error"><li>Error</li></ul>'; // missing
information
}

?>

On Jul 30, 10:30 am, Rob <[EMAIL PROTECTED]> wrote:
> In the moviesapp.com site, when I do a theatres search, the results
> come up as expected, but the links are using GET variables like so:
> <li><a href="theater.php?z=68506&amp;d=0&amp;t=0">Edgewood Cinema</
> a></
> li>
>
> When the link is clicked, then the page goes to moviesapp.com/#_t0.
> So its taking the t variable and converting it to the hash link.  How
> is this done? location.href?  This is exactly what I need for my
> script but I am not sure how its done.
>
> Thanks
> Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to