ich will machen:
aus einem formular bei dem man das passwort ausgibt
ich hab den quelltext so!!
Code:
<?php
error_reporting(E_ALL);
$benutzername=$_POST['benutzername'];
$passwort = $_POST['passwort'];
setcookie("passwort", $benutzername);
setcookie("benutzername", $passwort);
?>
Warning: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\wichtige\Adminbereich\incfunk. php:3) in C:\xampplite\htdocs\wichtige\Adminbereich\incsetc. php on line 5
Warning: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\wichtige\Adminbereich\incfunk. php:3) in C:\xampplite\htdocs\wichtige\Adminbereich\incsetc. php on line 6
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Stefan'' at line 7
hmm... scheisse
also die post variablen kommen an
was is das eignetlich für ne fehlermeldung?:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Stefan'' at line 7
also wie kann ich machen dass der die cookies setzt?
vielen dank für eure hilfe =)
bye molllitz

Einen Kommentar schreiben: