Die Suche hat mir keine Antwort gebracht
alsi ich binde den FCKeditor wie folgt ein:
	
und möchte die dateui wie folgt in die db eintragen:
	
wieso funzt das nicht?
kann mir bitte einer helfen
					alsi ich binde den FCKeditor wie folgt ein:
PHP Code:
	
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Neues Dokument</title>
</head>
<body>
  <table cellpadding="0" cellspacing="0">
  <form action="insert.php" method="post">
    <tr>
      <td width="700" height="600"><IFRAME name="frtext" src="fckeditor.html?FieldName=text" width="100%" height="400" frameborder="no" scrolling="no"></IFRAME></td>
    </tr><tr>  
      <td><input type="submit" /></td>
    </tr>
    </form>
  </table>
</body>
</html> 
PHP Code:
	
	
<?php
    mysql_connect("localhost", "web16", "*****") OR die (mysql_error());
    mysql_select_db("*****") OR die (mysql_error());
    $sql = "INSERT INTO test
                 (text)
            VALUES
                  ".$_POST['text']."";
    mysql_query($sql) OR die (mysql_error());
    echo "erfolgreich eingetragen";
?>
kann mir bitte einer helfen
 
          
Comment