Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Schaltflächen in Formular

Empfohlene Antworten

Weiss jemand

Content-Transfer-Encoding und Content-type von

pdf

doc

xls

????

Habs im Netz nicht gefunden bisher.

  • Antworten 105
  • Ansichten 8k
  • Erstellt
  • Letzte Antwort

application/pdf

text/doc ?

application/vnd.ms-excel ?

Danke

Tut mir leid, dass ich schon wieder was nicht blicke aber ich häng grad bei der Session und den Radio Buttons fest.


session_start();

$S_ANREDE = $_SESSION["S_ANREDE"];
$A_ANREDE = $S_ANREDE;
$_SESSION["S_ANREDE"] = $HTTP_POST_VARS["ANREDE"];
?>

<html>
<head>
<br><br><br><br>
<input type="radio" name="ANREDE" value="m"><br>
<a href="test2.php"><input type="submit" value=">>" name="WEITER"></a>
</head>
<body>
</body>
</html>
[/PHP]

[PHP]
session_start();

$S_ANREDE = $_SESSION["S_ANREDE"];
$A_ANREDE = $S_ANREDE;
?>

<html>
<head>
<br><br><br><br>
<?php

print_r($A_ANREDE);
?>
</head>
<body>
</body>
</html>

Eigentlich soll mir ja auf der 2. Seite der Wert der in der Session gespeicherten Variable angezeigt werden, aber irgendwie funktioniert das nicht :(

Tut mir leid, dass ich schon wieder was nicht blicke aber ich häng grad bei der Session und den Radio Buttons fest.


session_start();

$S_ANREDE = $_SESSION["S_ANREDE"];
$A_ANREDE = $S_ANREDE;
$_SESSION["S_ANREDE"] = $HTTP_POST_VARS["ANREDE"];
?>

<html>
<head>
<br><br><br><br>
<input type="radio" name="ANREDE" value="m"><br>
<a href="test2.php"><input type="submit" value=">>" name="WEITER"></a>
</head>
<body>
</body>
</html>
[/PHP]

[PHP]
session_start();

$S_ANREDE = $_SESSION["S_ANREDE"];
$A_ANREDE = $S_ANREDE;
?>

<html>
<head>
<br><br><br><br>
<?php

print_r($A_ANREDE);
?>
</head>
<body>
</body>
</html>

Eigentlich soll mir ja auf der 2. Seite der Wert der in der Session gespeicherten Variable angezeigt werden, aber irgendwie funktioniert das nicht :(

in deinem code fehlt das <form> tag um dein radio und submit element. das <a href> um den submit ist hinfällig

Jo danke. Ich geb auf. PHP hat gewonnen...

Thread kann geschlossen, gelöscht oder sonstwas werden.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.