ok well the file i want to include is called userdelpage.php
and yes its uploaded to the same dir.
echo "<td><A HREF='home.php?p=userdelpage=".$page."'>Delete?".$page."</A></td>";
Heres the link. I set it up with the dots rather than the <? php tags because i was already in php, thats right yea?
and here
else if($_GET['p']=="userdelpage"){
include("userdelpage.php");
}
is the link that Im using on my homepage so as it knows what file to include.
What happens is that the address bar says home.php?p=userdelpage1 (or some number) but the include that loads is the default one, so the problem has to be that its not recognising the include, n i think that is because the page address has a number in it, whereas in the link on the homepage(last piece of php above) ive told it to include the file userdelpage without a number.