(Hab oben falsche Nachricht beantwortet.)
Danke für die Hinweise zu $times, ich hätte als erstes aber gerne den loop zum laufen gebracht :)
Nächster Versuch:
$times = $_POST['times']; //check kommt später
for ($i=1; $i<=$times; $i++ ) {
$title = $_POST['title'];
$content = $_POST['content'];
$i = "INSERT INTO adding
( title
, content
) VALUES (
'".$title."',
'".$content."'
)";
...$result = mysql_query($i)...
Wird nur 1 mal hinzugefügt.
$times: default hätte ih gern nichts im times input (dann $times=1). der check klappt nicht so recht:
if ($_POST['times'] == NULL) {$times = 1} else {$times = $_POST['times']}