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'
Ïà¹ØÎĵµ£º
ÔÚʵ¼ÊµÄ³ÌÐò¿ª·¢ÖУ¬Ö´ÐÐ×Ö·û´®Ìæ»»²Ù×÷ÊÇÒ»¼þ·Ç³£¾³£µÄÊ£¬¶Ô
str_replace
º¯ÊýµÄʵÓÃÒ²»á·Ç³£Æµ·±¡£
Õâ¶Îʱ¼äÔÚ¿´¡¶
PHP
ºÍ
MySQL Web
¿ª·¢¡·Ò»Êé¿´µ½
str_replace
½²½â£¬Ò»¶ÎСÌáʾдµ½£º¿ÉÒÔΪ
str_replace
µÄÈý¸ö¶¼Ê¹ÓÃÊý×é´«È룬µ«½²½â±È½Ï¼òµ¥£¬ÓÚÊǾö¶¨×Ô¼ºµÄÊÔÑé ......
<?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 ......
Ïл°ÉÙ˵,ÏȽ«ËüÃÇ´ò°ü³ÉÒ»¸öÎļþ¾Í½Ðfun.php°É
< ?php
function passport_encrypt($txt, $key) {
srand((double)microtime() * 1000000);
$encrypt_key = md5(rand(0, 32000));
$ctr = 0;
$tmp = ''; ......
ÏÖÔÚphpÓкܶ࿪·¢¿ò¼Ü£¬±ÈÈçzendµÄzendframe——Ò»¸öЧÂʺܵͣ¬µ«ÍþÁ¦ºÜ´óµÄ¾ÞÈË£¬symfony——Ò»¸öÊÊÓôóÐÍÓ¦ÓÃÈ´Ìå»ýÇáÇɵİïÊÖ£¬cakephp£¬codelgniter£¬thinkphp£¬fleaPHPµÈµÈÓÅÐã×÷Æ·¡£
Ò²ÐíÒòΪÕâ¸öÔÒò£¬phpºÜÄѳÉΪÖ÷Á÷¡£Ñ¡Ôñ¶àÁË·´¶ø²»ÖªµÀÑ¡ÔñÄĸöºÃ¡£²»ÏñjavaÓÐͳһµÄÖ÷Á÷¿ò¼Ü£¬Äã¿ÉÒÔÑ¡Ôñe ......
ת×Ô£º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´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµ ......