PHP¸ßÊÖÃǶ¼½øÀ´¿´¿´,°×ÄõķÖÊý
<script>
function test(obj) {
document.getElementById('cb' + obj.name.substring(2)).checked = true;
}
function toggleSelect(flag) {
if(flag == 1) {
for(var i=1;i<3;i++) {
document.getElementById('cb' + i).checked = true;
}
} else {
for(var i=1;i<3;i++) {
document.getElementById('cb' + i).checked = false;
}
}
}
</script>
print '<table class="stripe_tb" ><caption>Óà »§ ÁÐ ±í</caption>
<tr><th></th><th>ѧ ºÅ</th><th>ÐÕ Ãû</th><th>ÐÔ ±ð</th><th>ר Òµ</th><th>Äê ¼¶</th><th>°à ¼¶</th><th>±à ¼</th><th>ɾ ³ý</th></th></tr>';
while(@$print = $db->fetch_array()){
echo '<tr style="cursor:pointer;" name = "tr" id="tr1" onclick="test(this)">
<td><input type="checkbox" name="cb1" id="'.$print['user_id'].'"></td>
<td style="cursor:pointer;">'.$print['user_id'].'</td>
<td style="cursor:pointer;" >'.$print['user_name'].'</td>
<td style="cursor:pointer;" >'.$print['user_se
Ïà¹ØÎÊ´ð£º
ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´ÔÒò£¬ÏÈлÁË¡£
¿ÉÄÜÊÇÒòΪ¸ÃÕ¾µãûÓÐÄãÏëÒªµÄä¯ÀÀÆ ......
ÇëÎÊ
object(Helper_Uploader_File) {
protected '_file' => array(
'name' => string '4_¹âÓ°_1.jpg' (length=14)
'type ......
index.phpÄÚÈÝ£º
$smarty->assign('name',strtotime('-0'));
$smarty->display("index.html");
index.htmlÄÚÈÝ£º
{$name|date_format:'%Y-%m-%d'}<hr>
{$ ......
±±¾©2ÄêPHP¾ÑéÇó¼æÖ°
½Ó·Ö
·¹ý½Ó·Ö£¡.¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
jf~~~~~~~~~~~~~~Ö§³Ö
ßÀ¡£¡£ÎÒÃÇÐèÒª¼æÖ°£¬¿ÉÊÇÔõôÁªÏµÄãѽ£¿
¶¥¡£¡£¡£ »Ø¸´ÄÚÈÝ »Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡
º¼ÖÝÄãÈ¥²»È¥°¡ ¡£¡£¡£¡£¡ ......
$last_line = system($cmd, $ret);
echo $last_line;
·µ»Ø×îºóÒ»ÐеĽá¹û¡£
¿ÉÖ´ÐгÌÐòûÓÐÎÊÌ⣬ֻÊÇÕâ¸ö³ÌÐòÐèÒªÔËÐкܳ¤Ê±¼ä¡£phpÒ³ÃæÃ»Óзµ»ØÈκνá¹û¡£
ÎÒ¸ÄÁËһϿÉÖ´ÐгÌÐò£¬ÈÃËûsleep(10)£¬phpµ÷ÓÃûÓÐÎ ......