you said 'the different menues being "$setlink" and "$setlink2",'
try this
<?
if ($setlink == $link1)
heard( . .. .
else
header(...
if ($setlink2 == $link3)
header(..
else
header (..
that should work.
Tom wrote:
<? if ($setlink == $link1)
{ header("Location: http://localhost/link.php"); }
else if ($setlink == $link)
{ header("Location: http://localhost/link2.php"); }
else if ($setlink2 == $link3)
{ header("Location: http://localhost/link3.php"); }
else if ($setlink2 == $link4)
{ header("Location: http://localhost/link4.php"); }
?>
ok, this the action of a form that I have, which incases several pull down menues, the different menues being "$setlink" and "$setlink2", it doesn't seem to be working, there isn't an error but it doesn't produce the page I want.