Vegas Seven

Movie Test

xpath(‘sources/theatres/theatre’);

$programs = new SimpleXMLElement(‘http://www.wendohmedia.com/sevendigital/movies/on_vsev_mov_programs_20100503.xml’, null, true);
$programz = $programs->xpath(‘programs/program’);

foreach($theatre as $theater) // loop through our theaters
{
$address = $theater->address;
echo <<

$theater->name

  • $address->street1
    $address->city, $address->state $address->postalCode
  • $theater->telephone
  • $theater->URL

EOF;
}
?>

More Reads For You

DTLV

RunRebs