Home  >  Article  >  Backend Development  >  基于mysql的论坛(6)_php基础

基于mysql的论坛(6)_php基础

WBOY
WBOYOriginal
2016-05-17 09:45:51908browse

# post.php
require("config.inc.php");
$sql="select * from boardinfo where name='$board'";
$sql_result=mysql_query($sql);
$sql_row=mysql_fetch_array($sql_result);
?>


发新贴子








    
    
  
    
    
  
    
    
  
发 贴 子

    
(您必须注册以后才能发表新主题,不然您只能查看主题。

      如果您还未注册,请点击这里转到注册页)


      您的贴子将被发表在版块




  
      
      
      
      
      
    
      
      
    
      
      
    
  
用户名:   
        
        *
密码:   
        
        *
主题:  
        
        *
内容:

             
        
        

        
        
        
        使用签名  
        
      

  





# query.php
    require("func.php");
    $sql="select * from boardinfo";
    $sql_result=mysql_query($sql);
?>


main






    
    

      
璁哄
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn