zoukankan      html  css  js  c++  java
  • 项目的代码!

    <?php
    $result=mysql_connect("localhost","root")or die ("kj".mysql_error());
    $k=mysql_select_db("userl",$result) or die ('Cant use foo : ' . mysql_error());
    if (!$k){
    	echo "选择服务器失败";
    }
    $b=mysql_query("select content,works_name,ID,score,users_name from works where score='0'");
    $n=1;
    while($bl=mysql_fetch_array($b))
    {
    	$n++;
    echo "ID:"."&nbsp".$bl["ID"]."&nbsp"."姓名:".$bl["users_name"]."&nbsp&nbsp".
    "题目:"."《".$bl["works_name"]."》".
    "<br>"."&nbsp&nbsp"."内容"."&nbsp&nbsp".$bl["content"]."<br>";
    echo "<html><form  name='form1' method='post' action='fenshu.php'>
    <input  type='text' name='ID' placeholder='ID'/>
    <br/>
    <input type='text' name='scor' placeholder='分数'/>
    <input type='submit' value='提交'/>
    </form></html>";
    
    }
    ?>
  • 相关阅读:
    计算机存储单位
    TcpListener、TcpClient
    JobConf
    JobClient
    python正则方法
    c#列表操作
    C#解析xml
    C#字符串操作函数
    Binding
    Name和:Name
  • 原文地址:https://www.cnblogs.com/wuliao/p/5431156.html
Copyright © 2011-2022 走看看