Yes that works - cheers.
One more question - im using this php script to control the heading of the submit page.
<?php
session_start();
if($_SESSION['forumType'] = "Java")
{
$_SESSION['submitType'] = "Java";
header("Location: submit.php");
}
if($_SESSION['forumType'] = "PHP")
{
$_SESSION['submitType'] = "PHP";
header("Location: submit.php");
}
?>
I use this in my phpforum
$_SESSION['forumType'] = "PHP";
To show what where the user came from
The heading is displayed like this in submit.php:
<table>
<tr background='Fade2.gif'>
<th>
<?php
echo $_SESSION['submitType'];
?>
forums</th>
</table>
This only ever gives PHP forums as the heading though.
Any ideas would be appreciated.
Thank you