OK, thanks for trying to read my post.
Ill try and improve it:
index.php?content=page1
gets brought into my php doc, so now
$contact=page1;
depending on whether $contact has a value of page1, page2, page3 or page4 depends on which content its loads into a certain part of my table.
The actual content variables look something like this at the moment:
$firstPageContent="Quite a lot of text related to page 1";
$secondPageContent="Quite a lot of text related to page 2";
and so on
At the appropriate time in the table I want to be able to say
echo $contentVar;
and it will load the related content, 1 thru to 4 that was in the URL.
In my original post I was saying:
$page1="Quite a lot of text related to page 1";
$page2="Quite a lot of text related to page 2";
and hoping to be able to convert the value of content (page1, page2, page3 or page4 ) into a variable so from for example:
$content=page1;
I could make
$content=$page1;
then later on when I say:
echo $content;
and (depending on which values were passed in the URL) I would get:
Quite a lot of text related to page 1
outputted in my td.
Thanks for your time,
Flash-Genie