首页 > php教程 > php手册 > 模仿OSO的论坛(三)_php基础

模仿OSO的论坛(三)_php基础

WBOY
发布: 2016-05-17 09:05:38
原创
1293 人浏览过

post.php(发新贴子)

疑难问题

if (!$cookie_user)
{echo "";}
else {include ("connect.inc.php");
$query = "select * from my_user where user='".$cookie_user."' and password='".$cookie_password."'";  
$res = mysql_query($query);  
if (!$res)
{echo "";}
include "connect.inc.php";
if ($theme) {$content=htmlspecialchars($content);
$content=nl2br($content);
$theme=htmlspecialchars($theme);
$theme=nl2br($theme);
$query = "INSERT INTO guestbook (name,type,theme,content,icon,time_open,time_close,answer_count,answer_name) VALUES ('".$cookie_user."',1,'".$theme."','".$content."',".$icon.",now(),now(),1,'".$cookie_user."')";  
$res = mysql_query($query);
if ($res)  
{echo "";}
else echo $query;}}
?>


      
        

  
    

      
      onsubmit="return check_com()">
      
        
        
          
          
        
          
          
        
          
          
        
          
          
主  题
表情图标 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon1.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon2.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon3.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon4.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon5.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon6.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon7.gif"  
            width=18>
模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon8.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon9.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon10.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon11.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon12.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon13.gif"  
            width=18> 模仿OSO的论坛(三)_php基础            align=ABSCENTER height=18  
            src="mypic/icon14.gif"  
            width=18>
加贴内容
    
                  





【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】    


来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门推荐
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板