3
Here's a sample of the code below. I've double checked the syntax (and did catch an error the first time around), but what's happening now doesn't quite seem like a syntax error. Basically, when I put the PHP code in the source of theme.html, it gets output on the final pagein the code as though it didn't get executed, just printed. So here's a sample of what I'm inputting...and when I view the pace, the source looks exactly like this:
CODE:
$here = $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']; if(strpos($here, 'modules/news')===true) { // News/home page. $box = 'box-home.swf'; $image = ''; } else { // Default page. $box = 'box-home.swf'; $image = 'Rene_Antonio_Intro.swf'; } ?> 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/swflash.cab#version=6,0,29,0" width="222" height="197"> |