Standard retrieve from database script. What I want to do is alter a value ($Page) depending on the results of row $Format.
Example
Format
CD
CD
Tape
Video
The value $Page would change to CD.php, Tape.php, etc; depending on the value returned.
I currently use the following if-else script but keep getting a Parse Error.
if ($Row[Format]='Video/PAL'){$Page=('VideoInfo');}
else {$Page=('Info');}
Should I use a switch conditional instead and if so how do I implement it?