Page 3 of 3

Posted: Wed Feb 18, 2004 9:01 pm
by William

Code: Select all

<?php 
if( $name == "The Hidden Viper" ) { 
$<span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> =  "true"; 
} else { 
echo "there is no else if, if the name fits the shoe"; 
} 
?>
If you are going to insault me please do it correctly :lol:

When you are making a varible a value it's only 1 = sign. Parse error! And only use the elseif like an id statement. Not as else :lol:

Posted: Wed Feb 18, 2004 9:05 pm
by tim
wow this topic went wayyyyyyyy off topic, viper I was just messing.. I know how to code simple php...

I think the mods should just delete this post

Posted: Wed Feb 18, 2004 9:09 pm
by Illusionist
either that or we get back on topic! Dale, u tested that code yet?

Posted: Wed Feb 18, 2004 9:13 pm
by William
Ya. back on topic. I go and wait for Illusionest to MSN me another link to it :lol: