| | | | |
| | |
| Gast
Beiträge: n/a
| Hi Leute, Ich hab hier bisschen in der Suchfunktion nach einem DropDown Menü gesucht und ein passendes gefunden. Habe es danach eingebaut und funktionierte auch. Leider funktioniert der HTML Code nach dem DropDownmenücode nicht mehr. Also die anderen Textfelder werden komischerweise nicht angezeigt. Code: <html>
<head>
<title>Neuen Eintrag in die Ausliehtabelle</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
<table align="center" width="771" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="rahmen" colspan="7" height="1" width="771">[img]layout/spacer.gif[/img]</td>
</tr>
<tr>
<td class="rahmen" rowspan="4" width="1">[img]layout/spacer.gif[/img]</td>
<td height="88" width="50">[img]layout/spacer.gif[/img]</td>
<td height="88" width="428">[img]layout/logo.jpg[/img]</td>
<td background="layout/verlauf.gif" colspan="1" height="88" width="223">
<div align="right" class="kopf">
Thomas Cybulski
CD-Verwaltung deLuxe v0.01
schieby@t-online.de
</div>
</td>
<td align="center" valign="middle" background="layout/verlauf_streifen.gif" height="88" width="68">[img]layout/spacer.gif[/img]</td>
<td class="rahmen" rowspan="4" width="1">[img]layout/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="5" height="1" width="769"></td>
</tr>
<tr>
<td width="769" height="20" colspan="4">
<table width="769" height="20" cellpadding="0" cellspacing="0">
<tr>
<td class="navigation" style="cursor:pointer;" onmouseover="this.style.backgroundColor='#FEA13D';" onmouseout="this.style.backgroundColor='#929191';" width="153" height="20"><div align="center">
HOME </div></td>
<td>[img]layout/spacer.gif[/img]</td>
<td class="navigation_in" style="cursor:pointer;" onmouseover="this.style.backgroundColor='#929191';" onmouseout="this.style.backgroundColor='#FEA13D';" width="153" height="20"><div align="center">
Ausleihtabelle </div></td>
<td>[img]layout/spacer.gif[/img]</td>
<td class="navigation" style="cursor:pointer;" onmouseover="this.style.backgroundColor='#FEA13D';" onmouseout="this.style.backgroundColor='#929191';" width="153" height="20"><div align="center">REFERENZEN</div></td>
<td>[img]layout/spacer.gif[/img]</td>
<td class="navigation" style="cursor:pointer;" onmouseover="this.style.backgroundColor='#FEA13D';" onmouseout="this.style.backgroundColor='#929191';" width="153" height="20"><div align="center">PRODUKTE</div></td>
<td>[img]layout/spacer.gif[/img]</td>
<td class="navigation" style="cursor:pointer;" onmouseover="this.style.backgroundColor='#FEA13D';" onmouseout="this.style.backgroundColor='#929191';" width="153" height="20"><div align="center">KONTAKT</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="5" height="1" width="769">[img]layout/spacer.gif[/img]</td>
</tr>
</table>
<table align="center" width="771" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="rahmen" rowspan="3" width="1">[img]layout/spacer.gif[/img]</td>
<td bgcolor="#D7D7D7" colspan="5" height="7" width="769"><div align="right">
[img]layout/spacer.gif[/img][img]layout/streifen_rechts.gif[/img]</div></td>
<td class="rahmen" rowspan="3" width="1">[img]layout/spacer.gif[/img]</td>
</tr>
<tr>
<td background="layout/streifen_kopf.gif" colspan="5" height="20" width="770"></td>
</tr>
<tr>
<td height="290" width="50" >[img]layout/spacer.gif[/img]</td>
<td height="290" width="651" valign="top">
<?PHP
/* Datenbankserver - In der Regel die IP */
$db_server = "localhost";
/* Datenbankname */
$db_name = "cd_verwaltung";
/* Datenbankuser */
$db_user = "root";
/* Datenbankpasswort */
$db_passwort = "";
/* Erstellt Connect zu Datenbank her */
$db = @MYSQL_CONNECT($db_server,$db_user,$db_passwort) or die ("Konnte keine Verbindung zur Datenbank herstellen");
$db_check = @MYSQL_SELECT_DB($db_name);
/* Gibt Werte in die Datenbank ein */
if ($id > 0) {
$result = mysql_query("INSERT INTO `benutzer_tabelle` (`Benutzer_ID`,`Vorname`,`Nachname`,`Alter`)
VALUES ('$id','$vorname','$nachname','$alter')");
}
$anfrage = mysql_query("SELECT filme_tabelle.* FROM filme_tabelle;");
?>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="99%" valign="top">
<p class="link">[Neuer Tabelleneintrag] [Tabelle anzeigen]</p>
<form action="neuer_benutzer.php" method="POST">
<input type="text" name="id" />
Benutzer_ID
<?php
echo "<SELECT name='neu' size='1'>";
while($row = mysql_fetch_assoc($anfrage)) {
echo "<option>" . $row['Titel'] . "</option>";
}
?>
Film aussuchen
<input type="text" name="dauer" />
Dauer in Tage
<input type="submit" value="Erstellen" name="B3">
</form>
</td>
</tr>
<tr>
<td height="1%" valign="bottom" align="right">
</td>
</tr>
</table>
</td>
<td width="68" height="290" align="center" valign="middle" background="layout/streifen_mitte.gif">[img]layout/spacer.gif[/img]</td>
</table>
<table align="center" width="771" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="rahmen" rowspan="3" width="1">[img]layout/spacer.gif[/img]</td>
<td width="139" height="27">[img]layout/trennlinie_fuss.gif[/img]</td>
<td align="center" valign="middle" width="630" height="27" background="layout/streifen_fuss.gif">
<div align="left">[img]layout/trennlinie_fuss.gif[/img][img]layout/streifen_rechts.gif[/img]</div></td>
<td class="rahmen" rowspan="3" width="1" >[img]layout/spacer.gif[/img]</td>
</tr>
<tr>
<td class="rahmen" colspan="4" height="1">[img]layout/spacer.gif[/img]</td>
</tr>
</table>
</body>
</html>
DANKE Mfg Schieby |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Mehrere abhängige dynamische DropDown Menues erstellen | Cheesy | PHP Tipps 2008 | 6 | 17.08.2007 16:41 |
| JS: Auswahl Dropdown Box2 ändern wenn Dropdown Box1 geändert | PsychoEagle | HTML, Usability und Barrierefreiheit | 10 | 23.02.2007 17:16 |
| Auf Auswahl in einer Dropdown Box reagieren | PHP-Fortgeschrittene | 10 | 26.01.2006 13:15 | |
| Markierung im Dropdown beibehalten beim bestätigen | PHP Tipps 2007 | 8 | 09.12.2005 19:54 | |
| Dropdown Menü Grösse ändern | Mike55 | PHP Tipps 2005-2 | 2 | 06.10.2005 21:05 |
| Dynamischer Dropdown? | Broadcast | PHP Tipps 2005-2 | 7 | 02.09.2005 17:55 |
| Werte für Dropdown aus Tabelle einlesen | PHP Tipps 2005-2 | 0 | 05.08.2005 12:20 | |
| Werte für Dropdown aus Tabelle einlesen | PHP Tipps 2005-2 | 0 | 05.08.2005 12:17 | |
| Mit JS DropDown Menü füllen? | HTML, Usability und Barrierefreiheit | 3 | 13.06.2005 16:04 | |
| dropdown menü mit werten aus db füllen | LA-Finest | PHP Tipps 2005-2 | 4 | 10.06.2005 13:19 |
| was is jetz schowieder falsch? dropdown | PHP Tipps 2005 | 7 | 15.03.2005 16:00 | |
| Funktion in Dropdown menü ein binden | PHP Tipps 2004-2 | 1 | 22.12.2004 10:35 | |
| dropdown onchange | PHP Tipps 2004 | 3 | 31.07.2004 20:04 | |
| Dropdown Liste automatisch erstellen | PHP Tipps 2004 | 2 | 20.06.2004 12:41 | |
| DropDown Menu | JeeZ | HTML, Usability und Barrierefreiheit | 1 | 19.06.2004 17:15 |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| php while und auswahlfelder erster datensatz fehlt, php layout drop down menü, auswahlfeld php aus grosser tabelle, html drop down über mehrere zellen, menueleiste in php |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.