一个个人网页自动化生成系统(6)

2016-01-29 14:20 4 1 收藏

一个个人网页自动化生成系统(6),一个个人网页自动化生成系统(6)

【 tulaoshi.com - PHP 】

  网站管理,文件名:guanli.php
<html
<head
<titleUntitled Document</title
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"
</head

<body bgcolor="#FFFFFF" background="image/b-graingr2.jpg"
<table width="775" border="0"
  <tr  
    <td width="101" height="463" valign="top"  
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/0512101027038600.gif"" width="103" height="60"</p
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/051210102703314.gif"" width="100" height="35"</p
      <p<a href="muban.php"<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010270384519.gif"" width="100" height="35"  border="0"</a</p
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010270380125.gif"" width="100" height="35"</p
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010270374025.gif"" width="100" height="35"</p
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010270356272.gif"" width="100" height="35"</p
      <p<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010270389207.gif"" width="100" height="35"</p
    </td
    <td width="663" height="463" valign="top"
      <table width="95%" border="0" align="center" height="234"
        <tr  
          <td height="43"  
            <div align="center"<b<font color="#480000" size="6"页面管理</font</b</div
          </td
        </tr
        <tr valign="top"  
          <td height="267"
           
           
       

<?php
// 程序开始    
$db = mysql_connect("localhost", "root");

mysql_select_db("study",$db);
// 判断是不是修改文件
if ($submit) {



  

    $sql = "UPDATE wenzhang SET timu='$timu',zuozhe='$zuozhe',
    laiyuan='$laiyuan',textt='$textt' WHERE id=$id";


   
  // 向数据库发出SQL命令

  $result = mysql_query($sql);
// 文章生成
$t = date("Y-m-d h:i:s");
$muoban1 = fopen("muoban1.txt","r");
$muoban2 = fopen("muoban2.txt","r");  
$muoban3 = fopen("muoban3.txt","r");
$qita = "<p<table width=&quo

来源:https://www.tulaoshi.com/n/20160129/1493051.html

延伸阅读
if not exists (select * from dbo.sysobjects where id = object_id(N'[IndexTable]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) create table IndexTable(Ex char(20), num integer) go create procedure SetIndex @Ex char(20),@result char(30) output,@Fmt integer as   declare @num...
标签: 电脑入门
    ソンソンソン 2011㏑ 莪们% 一定要″ ゜狠开心/ ゜狠幸福/ ソンソンソンソン --------------------------------------------- ヘノヘノヘノヘノ 一个人旳街角み 一个人旳等待み ヘノヘノヘノヘノ ╰つ〞 抱著回忆乱撞丶 コ コ コ コ ┅┅━━━━┅...
标签: PHP
  一个简单的自动发送邮件系统(三)     这里介绍php和mysql结合起来实用。如何从mysql数据库中提取数据。     好,我们已经成功的完成了我们的要求,很多的数据已经存在了数据库中,现在的问题是,如何查询这些数据,得到有用的结果呢? 在下面的程序中,我们将选择"apple"的...
标签: PHP
  这里介绍php和mysql结合起来实用。     基本上,可以说php是介于后台数据库和前台浏览器的一个中间层,在他们之间传递命令。这种方式大大提高了交互的可能性,可以方便使用在投票系统,其他动态用户输入和个性化网站中。     要想实现这种交互,首先必需实现和mysql数据库连接,可以使用这...

经验教程

100

收藏

8
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部