码迷,mamicode.com
首页 > Web开发 > 详细

php面向对象

时间:2014-05-26 02:19:14      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:c   tar   a   int   数据   art   

<?php
session_start();
if(isset($_POST[‘submit3‘])){
$submit3 = $_POST[‘submit3‘];
$us = $_POST[‘zh‘];
echo$us ;
}
?><br>
主贴:呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵
<?php
$wi=@$_POST["huifu"];
$er = "<pre>$wi</pre>";
echo $er;

?>
<form action="lianxi3.php" method="post">
<input type="submit" name="submit2" value="登录">
</form>
<?php
if(isset($_POST[‘submit‘])){
$huifu = $_POST[‘huifu‘];
$conn = mysql_connect("localhost","root","") or die("链接数据库失败");
mysql_select_db("xiangmu");
mysql_query("set names ‘utf8‘");
$sql = "INSERT INTO `huitie`(`id`, `huifren`, `huitie`, `fabiaohuifu`) VALUES (null,null,null,‘$huifu‘)";

mysql_query($sql);

}
?>

 

<form action="lianxi2.php" method="post">
发表回复:
<?php
include("fckeditor/fckeditor.php") ;
$oBasePath = $_SERVER[‘PHP_SELF‘];
$oBasePath = dirname($oBasePath)."/fckeditor/";

$oFCKeditor = new FCKeditor(‘huifu‘) ;
$oFCKeditor->BasePath = $oBasePath ;
$oFCKeditor->Height = "500px";
// $oFCKeditor->ToolbarSet = "Basic";
$oFCKeditor->Create() ;
?>
<input type="submit" name="submit" value="发表">

php面向对象,布布扣,bubuko.com

php面向对象

标签:c   tar   a   int   数据   art   

原文地址:http://www.cnblogs.com/wanger1994/p/3749450.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!