stiffy
Erfahrenes Mitglied
servus, ich ma wieder
also ich hab hier mein gbook, und s klappt auch soweit, bloss wird "email" nich in die tabelle eingetragen. bei allen andern variablen funktionierts. hier ma des formular zum eintragen:
so un nu noch n auszug aus der entry.php
wie ihr seht hab ich auch schon probiert die variablen umzubenennen, hat aber alles nix gebracht. wär nett wenn jemand was findet
cya, stiff
also ich hab hier mein gbook, und s klappt auch soweit, bloss wird "email" nich in die tabelle eingetragen. bei allen andern variablen funktionierts. hier ma des formular zum eintragen:
Code:
<table width="500" border="0">
<tr>
<td>
<form action="index.php?page=entry" method="post">
<br>name: <input type="text" name="poster"></td>
<td rowspan="2"> your entry:<br>
<textarea name="content" rows="5" cols="41"></textarea></td>
</tr>
<tr>
<td valign="top">email: <input type="text" name="_email"></td>
</tr>
</table>
<br>
<input type="submit" value="submit"> <input type="reset" value="reset">
</form>
so un nu noch n auszug aus der entry.php
PHP:
$datum = date("d.m.Y");
$time = date("H:i:s");
$query = "INSERT INTO gbook (poster, email, datum, content, ip, time) VALUES ('$poster','$_email','$datum','$content','$REMOTE_ADDR','$time')";
$result = mysql_query($query);
wie ihr seht hab ich auch schon probiert die variablen umzubenennen, hat aber alles nix gebracht. wär nett wenn jemand was findet
cya, stiff