Hi there,
I am taking over someone elses code and do not work in php.
None of this guys pages actually work!
The one I am starting on is at http://www.vri.ca/gallery/surroundphoto/restaurant
When you click on any of his links you get the same picture so I am assuming that the php code line that has !$mov is the default when the $mov variable is not found.
you can see the source for the page and the php section that is filling in the part after the <embed src tag is a bunch of similar lines to the following:
<?php
if (!$mov) {echo "'entrance_to_privateers.mov' width='420' height='210' Scale='1'"; }
if ($mov == 1) {echo "'entrance_to_privateers.mov' width='420' height='210' Scale='1'"; }
if ($mov == 2) {echo "'crawback.mov' width='420' height='210' Scale='1'"; }
etc, etc
?>
But it doesn't work - any thoughts about where the error is? I have tried to look around at some of the basic syntax for php but cannot find anything to follow. Any links to use as a study guide once I get this done would also be appreciated.
Thanks a lot
Mark