尊龙凯时人生就是搏

PHPµÄThinkPHPÅÌÎÊÓÐÄÄЩ

1¡¢¾ÛºÏÅÌÎÊ

ÔÚÓ¦ÓÃÖÐÎÒÃǾ­³£»áÓõ½Ò»Ð©Í³¼ÆÊý¾Ý £¬ÀýÈçÄ¿½ñËùÓУ¨»òÕßÖª×ãijЩÌõ¼þ£©µÄÓû§Êý¡¢ËùÓÐÓû§µÄ»ý·Ö¡¢Óû§µÄƽ¾ùЧ¹ûµÈµÈ £¬ThinkPHPΪÕâЩͳ¼Æ²Ù×÷ÌṩÁËһϵÁеÄÄÚÖÃÒªÁì¡£

»ñÈ¡Óû§Êý£º

Db::table('think_user')->count();
// ÖúÊÖº¯Êý
db('user')->count();

µÇ¼ºó¸´ÖÆ

2¡¢Ê±¼äÅÌÎÊ

ʹÓàwhereÒªÁì¡£

ÒªÁìÖ§³Öʱ¼ä½ÏÁ¿ £¬ÀýÈ磺

// ´óÓÚij¸öʱ¼ä
where('create_time','> time','2016-1-1');
// Ð¡ÓÚij¸öʱ¼ä
where('create_time','<p><strong>3¡¢¿ì½ÝÅÌÎÊ</strong></p><p>¿ì½ÝÅÌÎÊ·½·¨ÊÇÒ»ÖÖ<strong>¶à×Ö¶ÎÏàͬÅÌÎÊÌõ¼þ</strong>µÄ¼ò»¯Ð´·¨£¬¿ÉÒÔ½øÒ»²½¼ò»¯ÅÌÎÊÌõ¼þµÄд·¨£¬ÔÚ¶à¸ö×Ö¶ÎÖ®¼äÓà| Ö§½âÌåÏÖORÅÌÎÊ£¬Óà &amp; Ö§½âÌåÏÖANDÅÌÎÊ£¬¿ÉÒÔʵÏÖÏÂÃæµÄÅÌÎÊ£¬ÀýÈ磺</p><pre class="brush:php;toolbar:false">Db::table('think_user')    -&gt;where('name|title','like','thinkphp%')    -&gt;where('create_time&amp;update_time','&gt;',0)    -&gt;find();

µÇ¼ºó¸´ÖÆ

ÒÔÉϾÍÊÇPHPµÄThinkPHPÅÌÎÊÓÐÄÄЩµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ