Aktuelle Version mit Hilfe von Euch, leider nach wie vor das gleiche Phaenomen.
Code:
<?
unset($Insert);
unset($Search);
unset($Delete);
unset($Update);
?>
<html>
<head>
<title>Build groups Community</title>
</head>
<body>
<?
if(isset($_POST['Search'])){
echo "Variable Insert: " ."$Insert" ."<BR>";
echo "Variable Search: " ."$Search" ."<BR>";
echo "Variable Delete: " ."$Delete" ."<BR>";
echo "Variable Update: " ."$Update" ."<BR>";
unset($Insert);
unset($Search);
unset($Delete);
unset($Update);
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post">';
}elseif(isset($_POST['Delete'])){
echo "Variable Insert: " ."$Insert" ."<BR>";
echo "Variable Search: " ."$Search" ."<BR>";
echo "Variable Delete: " ."$Delete" ."<BR>";
echo "Variable Update: " ."$Update" ."<BR>";
unset($Insert);
unset($Search);
unset($Delete);
unset($Update);
echo '<form action="anzeige1.php" method="post">';
}elseif(isset($_POST['Insert'])){
echo "Variable Insert: " ."$Insert" ."<BR>";
echo "Variable Search: " ."$Search" ."<BR>";
echo "Variable Delete: " ."$Delete" ."<BR>";
echo "Variable Update: " ."$Update" ."<BR>";
unset($Insert);
unset($Search);
unset($Delete);
unset($Update);
echo '<form action="anzeige2.php" method="post">';
}elseif(isset($_POST['Update'])){
echo "Variable Insert: " ."$Insert" ."<BR>";
echo "Variable Search: " ."$Search" ."<BR>";
echo "Variable Delete: " ."$Delete" ."<BR>";
echo "Variable Update: " ."$Update" ."<BR>";
unset($Insert);
unset($Search);
unset($Delete);
unset($Update);
echo '<form action="anzeige3.php" method="post">';
}
else
{
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post">';
echo "Variable Insert: " ."$Insert" ."<BR>";
echo "Variable Search: " ."$Search" ."<BR>";
echo "Variable Delete: " ."$Delete" ."<BR>";
echo "Variable Update: " ."$Update" ."<BR>";
}
?>
<!-- // AB HIER EINGABENVERARBEITUNG!!!! !-->
<input type="submit" name="Search" value="Search">
<input type="submit" name="Insert" value="Insert">
<input type="submit" name="Delete" value="Delete">
<input type="submit" name="Update" value="Update">
</form>
</body>
</html>
und egal was ich druecke, es kommt immer anzeige2.php :):):)