Zitat:
<html>
<head>
</head>
<body>
<?php
mysql_connect("localhost","root","");
mysql_select_db("beratung");
///Post option value herholen
echo "$virenschutz ist retgersdge";
$sql = 'SELECT
G Data,
Mcafee
FROM
Virenschutz';
if ($Virenschutz== ) {
echo " (hier kommen die befehle für den datensatz rein!!) ";
} elseif ($windows== (hier kommen die befehle für den datensatz rein!!) ) {
echo " ";
} else {$adobe== (hier kommen die befehle für den datensatz rein!!)
echo " ";
}
?>
|
----- auswertung
Zitat:
<html>
<head>
<title>Soft und Hardware Beratung</title>
<link rel="stylesheet" type="text/css" href="index.css">
<style type="text/css">
a:link { text-decoration:none; font-weight:bold; color:blue; }
a:visited { text-decoration:none; font-weight:bold; color:blue; }
a:hover { text-decoration:none; font-weight:bold; background-color:red; }
a:active { text-decoration:none; font-weight:bold; background-color:blue; }
a:focus { text-decoration:none; font-weight:bold; background-color:blue; }
</style>
</head>
<body>
<div id="kopf">...</div>
<div id="inhalt">
<form action = "auswertung.php" method = "post">
<input type="radio" name="wahl" value="Virenschutz">Virenschutz</input>
<input type="radio" name="wahl" value="Windows">Windows</input>
<input type="radio" name="wahl" value="Adobe">Adobe</input>
<input type="radio" name="wahl" value="Anderes">Anderes</input>
<input type="submit">
<input type="reset">
<br>
</div>
<div id="links"><b><a href="index.html"> Startseite</a></b><p><p><br><br><br><p>
<p><b><a href="news.html"> Newsletter</a></b><p><br><br><br><p>
<b><a href="artikel.html"> Artikelsuche</a></b><p><p><br><br><br><p>
<b><a href="gastebuch.php"> Gästebuch</a></b><p><p><br><br><br><p>
</div>
<div id="rechts"><a href="index.html"><img src="de.gif" border="0" alt="Home"></a>
<a href="index_en.html"><img src="en.gif" border="0" alt="Home"></a>
</div>
|
das dokument in der ich das eingeben will das den datensatz danach zeigt(weiterleitung_)