phpÔö,¸Ä,ɾ³ý²Ù×÷
<?php
class main extends spController
{
function index(){
echo "<p align=center><h1>HIS»ù´¡Êý¾Ýά»¤</h1>";
echo "<p align=center><h2>¿ÆÊÒ×Öµä</h2>";
$contentsurl=spUrl("main", "index0");
echo "<a href={$contentsurl} target=_blank>ÏêϸÐÅÏ¢</a></p>";
//Ôö¼Ó¿ÆÊÒ
$contentsurl=spUrl("main", "add0");
echo "<a href={$contentsurl} target=_blank>Ôö¼Ó¿ÆÊÒ</a></p>";
//ͳ¼Æ¿ÆÊÒ
$contentsurl=spUrl("main", "stat0");
echo "<a href={$contentsurl} target=_blank>ͳ¼Æ¿ÆÊÒ</a></p>";
echo "<p align=center><h2>Ò©Æ·×Öµä</h2></p>";
$contentsurl=spUrl("main", "index1");
echo "<a href={$contentsurl} target=_blank>ÏêϸÐÅÏ¢</a></p>";
echo "<p align=center><h2>ÃÅÕïÐÅÏ¢²éѯ</h2></p>";
$contentsurl=spUrl("main", "diagnose");
echo "<a href={$contentsurl} target=_blank>Õï¶ÏÐÅÏ¢</a></p>";
}
function index0(){
echo "<p align=center><h2>¿ÆÊÒ×ÖµäÊý¾Ýά»¤</h2></p>";
$zd_unit_code = spClass("zd_unit_code"); //
echo "<p>´úÂë Ãû³Æ Æ´Òô´úÂë</p>";
if( $result = $zd_unit_code->findAll() ){
foreach($result as $value){
echo "<p>{$value['code']}";
echo " {$value['name']}";
echo " {$value['py_code']}";
$contentsurl = spUrl("main", "show0", array('code'=>$value['code'
Ïà¹ØÎĵµ£º
In the directory where you plan to install Elgg, do the following:
Create the file .htaccess and add these two lines
RewriteEngine on
RewriteRule ^testing.php$ modrewrite.php
This tells the webserver to load modrewrite.php when testing.php is
requested.
In order to get this test to work on ......
<?php
$s = <<<html
<html>
<head>
<title>nested tag test</title>
<mce:script type="text/javascript"><!--
alert('fdsafdasfasd');
// --></mce:script>
</head>
<body>
<div id=0>
<div id=1><img name="im ......
½ñÌì×°Á˸öBerkeley 5.0.21½øÐвâÊÔ¡£
˳Àû±àÒëÁË×Ô´øµÄphp_db4Ä£¿éºó£¬½øÐвâÊÔ¡£·¢ÏÖdel²Ù×÷±¨´í£º
illegal flag specified to DB->del
<?php
dl('db4.so');
$db = new Db4();
$db->open(null, 'info.db', 'info');
$db->put('key', 'value');
var_dump($db->del('key'));
$db->close();
$db ......
ת×Ô£ºhttp://nedvedheqing.javaeye.com/blog/383506
1. PHPÀ©Õ¹
JpGraph£ºhttp://www.aditus.nu/jpgraph/
ChartDirector£ºhttp://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot Ϊ jQuery ÌṩµÄjavascript´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµ ......