<?
if($sub)
{
$fp= fopen("news1.php","a");
fwrite($fp,$title.$belong.$comment);
}
?>
<html>
<head>
<title> control </title>
</head>
<body>
<form id="back">
<div align=center>
title<input type=text name=title id=title maxlength=30 >
belong <select name=belong id=belong>
<option> overseas
<option selected> internal
</select>
<br>
</div>
<br> <br>
body <br>
<textarea wrap=head name=comment id=comment rows=20 cols=100> </textarea> <P>
<input type=submit name="sub" value=submit > <input type=reset value=reset>
</form>
</body>
</html>
if($sub)
{
$fp= fopen("news1.php","a");
fwrite($fp,$title.$belong.$comment);
}
?>
<html>
<head>
<title> control </title>
</head>
<body>
<form id="back">
<div align=center>
title<input type=text name=title id=title maxlength=30 >
belong <select name=belong id=belong>
<option> overseas
<option selected> internal
</select>
<br>
</div>
<br> <br>
body <br>
<textarea wrap=head name=comment id=comment rows=20 cols=100> </textarea> <P>
<input type=submit name="sub" value=submit > <input type=reset value=reset>
</form>
</body>
</html>
if($sub)
{
$fp= fopen("$title.php","a");
fwrite($fp,$title.$belong.$comment);
}
?>
<html>
<head>
<title> control </title>
</head>
<body>
<form id="back">
<div align=center>
title<input type=text name=title id=title maxlength=30 >
belong <select name=belong id=belong>
<option> overseas
<option selected> internal
</select>
<br>
</div>
<br> <br>
body <br>
<textarea wrap=head name=comment id=comment rows=20 cols=100> </textarea> <P>
<input type=submit name="sub" value=submit > <input type=reset value=reset>
</form>
</body>
</html>
Notice: Undefined index: fullscreen in C:\Documents and Settings\Administrator\Zend\workspaces\DefaultWorkspace\news\eWebEditor\ewebeditor.php on line 149
这是什么原因啊,我在编辑器里不能写字,编辑器下面不见边框,不美观
onclick="submit1($title,$belong,$comment);"
你想干什么呢???
<?php
if($_GET){
file_put_contents('news1.php',$_GET['title'],$_GET['belong'],$_GET['comment']);
}
?>
this is impossble mission!