PHP-Code:
<?PHP
echo '<form method=post>';
echo '<table width="58%" border="0" cellspacing="2" cellpadding="0">';
echo ' <tr>';
echo ' <td width="15%" valign=top>';
echo ' Eingabe:';
echo ' </td>';
echo ' <td width="85%">';
echo ' <input type=text name=text value=$_POST['text']>'; /*<-- Zeile 11*/
echo ' </td>';
echo ' </tr>';
echo ' <tr>';
echo ' <td width="15%" valign="top"> </td>';
echo ' <td width="85%">';
echo ' <input type=submit value=speichern name=submit>';
echo ' </td>';
echo ' </tr>';
echo '</table>';
echo '</form>';
$fp = fopen ("members.txt","w");
fwrite($fp,$_POST['text']);
fclose($fp);
?>
gut hab es jetzt so abgeändert jetzt kommt diese fehlermeldung:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in D:ProgrammeColdmind SoftwareHydraPHP- on line 11