Thanks for the repy.
I relised it was something to do with the way i layed out the if statement, one part works but not the other.
Basically I have a search page that gives results, when the results are clicked upon they are directed to this page. depending on which articleId was chosen it will display different contents.
<?
if ($articleId = 1)
echo "This is a test page";
elseif ($articleId = 2)
echo "This is test page 2";
?>
The first if statement works, second statement doesnt.