会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PHP`reader
博客园
首页
新随笔
新文章
联系
管理
订阅
2018年5月28日
smarty使用
摘要: require('./libs/Smarty.class.php'); $smarty = new Smarty();$smarty->left_delimiter="{";$smarty->right_delimiter="}";$smarty->setTemplateDir('templates
阅读全文
posted @ 2018-05-28 10:52 PHP`reader
阅读(88)
评论(0)
推荐(0)
2018年5月21日
生成用户界面
摘要: <?phpclass Mytpl{ //输出页面 protected $tpl_val = array(); function display($url){ $content = file_get_contents($url); //获取模板资源 foreach ($this->tpl_val as
阅读全文
posted @ 2018-05-21 11:40 PHP`reader
阅读(92)
评论(0)
推荐(0)
2018年5月17日
PHP 分页
摘要: <ul> <?php $c =new conn11('localhost','user','','test'); $c->connect();//连接数据库 $sql2 = 'select count(*) from liuyan'; $res3 =$c->sel($sql2); $res4 = $
阅读全文
posted @ 2018-05-17 11:34 PHP`reader
阅读(131)
评论(0)
推荐(0)
2018年4月26日
查询数据库登录
摘要: header( 'Content-Type:text/html;charset=utf-8 ');session_start();include_once("conn/conn.php"); $name=$_POST["username"]; $pass=$_POST["password"]; $s
阅读全文
posted @ 2018-04-26 11:41 PHP`reader
阅读(128)
评论(0)
推荐(0)
2018年3月21日
图片随鼠标动(jQuery)
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <script src="js/jquery-1.12.3 (1).js"></script> <style type="text/css"> .wap{ he
阅读全文
posted @ 2018-03-21 09:30 PHP`reader
阅读(141)
评论(0)
推荐(0)
2018年3月19日
html导航隐藏显示
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-1.11.3.min.js" ></script> </head> <script> $(function(){ $(
阅读全文
posted @ 2018-03-19 10:55 PHP`reader
阅读(369)
评论(0)
推荐(0)
2017年12月27日
表单提交图片和新闻
摘要: <?phpheader("Content-Type: textml; charset=utf-8");include_once ("../conn/conn.php");$title=$_POST["title"]; $content=$_POST["content"];$sc=$_FILES["u
阅读全文
posted @ 2017-12-27 16:54 PHP`reader
阅读(286)
评论(0)
推荐(0)
表单修改数据
摘要: <td><a href="pages/xiugai.php?id=<?php echo $row["id"]?>">修改</a></td> <?phpheader('Content-Type:text/html;charset=utf-8');include_once("../conn/conn.p
阅读全文
posted @ 2017-12-27 09:23 PHP`reader
阅读(998)
评论(0)
推荐(0)
2017年12月25日
上传图片(阿贾克斯提交)
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <script src="jquery.js"></script></head><body> <form action="1.php" method="post" e
阅读全文
posted @ 2017-12-25 23:37 PHP`reader
阅读(345)
评论(1)
推荐(0)
上传文件
摘要: <?phpheader("Content-Type: text/html; charset=utf-8"); // print_r($_FILES); if(!is_dir('uploads')) { mkdir('uploads'); } $t_name=$_FILES["files"]["tmp
阅读全文
posted @ 2017-12-25 11:12 PHP`reader
阅读(99)
评论(0)
推荐(0)
下一页
公告