php²éѯÓï¾äÎÊÌâ¡£¹ØÓÚʱ¼äµÄ
php²éѯÓï¾äÎÊÌâ¡£¹ØÓÚʱ¼äµÄÊý¾Ý¿âÖд洢µÄʱ¼äÊÇ'98-02-03 10:05:03'ÕâÖÖ¸ñʽµÄ£¬ÎÒÒª²éѯµÄÊÇ09-06-30ÕâÖÖ¸ñʽµÄ£¬ÎÒÏÂÃæÐ´µÄ¶ÔÂð¡·Çë½Ì¸ßÊÖ½â´ð
$sql="select * from customers,customers_info where customers.customers_id=customers_info.customers_info_id and TO_DAYS(customers_info.customers_info_date_account_created)=".date("y-m-d");
ÕâÑùд¶ÔÂð
PHP code:
$sql="select * from customers,customers_info where customers.customers_id=customers_info.customers_info_id and left(customers_info.customers_info_date_account_created,8)=".date("y-m-d");
»¹ÓÐÆäËûµÄ·½·¨Âð
¶à±í×îºÃÓÃleft join
DATE_FORMAT(edit_time, '%Y-%m-%d') = 'ÄãµÄʱ¼ä'
¶à±í×îºÃÓÃleft join
²»Ò»ÑùÂð
Äã¿ÉÒÔ²âÊÔһϲéѯʱ¼ä
°ï¶¥ ²»¹ý¸ßÊÖÓ¦¸ÃÊǺܶàµÄ
Ïà¹ØÎÊ´ð£º
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......
Çë½Ìexcel µÄ±àÂëÎÊÌâ
excelÖдæÔÚ Î÷°àÑÀÓÖÐÎÄ£¬Ó¢Ó¶íÓï °¢À²®ÓµÈ¶àÖÖÓïÑÔ php ¶Áȡʱ»ù±¾Õý³£ÏÔʾ£¬¾ÍÊÇÎ÷°àÑÀÓ·¨ÓïµÄ Groupe électrogène marins ÕâÖÖµ¥´ÊµÄºìÉ«×Ö·û»á³öÏÖÂÒÂë¡£±àÂëÕ ......
ÇëÎÊһϸ÷λ´óϺ£¬ÎÒÓÃphp×ö¸öÍøÒ³ÓÎÏ·£¬µ±È»ÊÇ×îÀ¬»øµÄÄÇÖÖhtmlµÄ£¬
ÏÖÔÚÎÒÏë°ÑËùÓÐÍæ¼ÒºÍ¹ÖÎnpcµÄÊý¾Ý´¢´æ£¬
µ±È»£¬Êý¾Ý¿âÖе±È»ÓУ¬µ«ÊÇÎÒÓÖ²»Ïë¹ý¶àµÄÈ¥²éѯÊý¾Ý¿â£¬
±ÈÈçÕ½¶·ÏµÍ³£¬¿Ï¶¨ÒªÏȳõʼ»¯Ë«·½Êý ......
<html>
<head>
<title>hello </title>
</head>
<body>
<input type="button" value="Click" onClick=" ......