Dificult time including stuff to the webpage....
Posted: Tue Jul 15, 2003 12:13 pm
im currently using a different include code than the traditional <php include ('file') ?> command ....
i have this member posting site where i can add delete and modify the members page, but when i try to use this include to execute those commands, the add will show in the website but the rest wont...and all of them dont do what they are supposed to do....for example delete doesnt delete add goes to the add page but doesnt add members,... here is the code for the 3 links
any help would be greatly appreciated
Code: Select all
<?
if(isset($_GETї'id']) && $_GETї'id'] != ""){
$id= $_GETї'id'];
}else{
$id= "";
}
if($id==""){
include('../cgi-bin/cutenews/show_news.php');
}else{
$include= $_GETї'id'];
include("$include.php");
}
?>Code: Select all
echo "<br> <a href=roster.php?action=delete&id=$key>Delete</a>\n";
echo "<a href=roster.php?action=edit&id=$key>Edit</a>\n";
echo "<a href=addmem.php>Add</a>\n";