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À©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ
²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿
ÔËÐÐÁË/ext_skel --extname=Ä ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
<?php
/*
¹¦ÄÜ£ºPHPα¾²Ì¬»¯Ò³ÃæµÄʵÏÖ
¾ßÌåÓ÷¨:
ÀýÈçÁ´½ÓΪ:test.php/year/2006/action/_add.html
mod_rewrite();
$yearn= $_GET["year"];//½á¹ûΪ'2006'
......
ÇëÎÊһϸ÷λ´óϺ£¬ÎÒÓÃphp×ö¸öÍøÒ³ÓÎÏ·£¬µ±È»ÊÇ×îÀ¬»øµÄÄÇÖÖhtmlµÄ£¬
ÏÖÔÚÎÒÏë°ÑËùÓÐÍæ¼ÒºÍ¹ÖÎnpcµÄÊý¾Ý´¢´æ£¬
µ±È»£¬Êý¾Ý¿âÖе±È»ÓУ¬µ«ÊÇÎÒÓÖ²»Ïë¹ý¶àµÄÈ¥²éѯÊý¾Ý¿â£¬
±ÈÈçÕ½¶·ÏµÍ³£¬¿Ï¶¨ÒªÏȳõʼ»¯Ë«·½Êý ......
webclient.phpÎļþ£º
<?php
$arrOptions = array( 'uri'=>'http://10.10.19.111/','location'=>'http://10.10.19.111/webservice/webservice.php','trace' ......