HTML interesse |
|
echo "<CENTER><TABLE border=1 width=700>";
echo "<TR>";
echo "<TD>";
echo "<center><b>Klanten toevoegen aan persbericht</b></center>";
echo "<tr><td>";
//echo "<CENTER>";
mysql_select_db("pridedb",$connect);
//ophalen namen
$queryKlant = "SELECT Distinct bedrijfsnaam FROM klanten";
$resultKlant = mysql_query($queryKlant, $connect) or die('error making query');
echo "<p><br>";
//logonamen in een dropdownbox zetten
echo '<FORM name="subklant" enctype="multipart/form-data" action="uploadpersbericht.php">
<SELECT name="subklant" size="1" onChange="this.form.submit();">";
<OPTION selected>';
echo " Kies een klant";
echo "</OPTION>";
while ($myrowKlant = mysql_fetch_array($resultKlant))
{
echo "<OPTION>";
echo $myrowKlant["bedrijfsnaam"];
echo "</OPTION>";
}
echo "</SELECT>";
echo "</form>";
//keuze om nieuwe klant toe te voegen
echo "<FORM name='newklant' action='berichtbeheer.php'>";
echo "<input type='submit' value='Nieuwe klant' name='newklantknop'>";
echo "<input type='hidden' value='$titel' name='titel'>";
echo "</form>";
echo "</TD>";
echo "</TR>";
echo "</TABLE><p>"; |