ͨ¹ý»º´æÊý¾Ý¿â½á¹ûÌá¸ßPHPÐÔÄÜ
ºó£º
IF (tblname = ''OE.ORDERS'') THEN IF (tblname = ''OE.ORDER_ITEMS'') THEN UPDATE ORDER_ITEMS SET quantity = 160 WHERE order_id=2421 AND line_item_id=1; SELECT TO_CHAR(operdate, ''dd-mon-yy hh:mi:ss'') operdate, OPERDATE RSLT_MSG ¹¹½¨¿Í»§¶Ë ¡¡¡¡ÏÖÔÚ£¬ÄúÒѾÕë¶Ô ORDERS ºÍ ORDER_ITEMS ±í´´½¨ÁË×¢²á£¬ÏÂÃæÎÒÃǽ«Á˽âһϷÃÎÊÕâЩ±íÖд洢µÄ¶©µ¥¼°Æ䶩µ¥ÏîµÄ¿Í»§¶ËÓ¦ÓóÌÐòÈçºÎʹÓøü¸Ä֪ͨ¡£Îª´Ë£¬Äú¿ÉÒÔ¹¹½¨Ò»¸ö PHP Ó¦ÓóÌÐò£¬Ëü½«»º´æÕë¶ÔÒÔÉϱíµÄ²éѯ½á¹û£¬²¢²ÉÈ¡ÏàÓ¦µÄ²Ù×÷À´ÏìÓ¦ÓйضÔÕâЩ±íËù×ö¸ü¸ÄµÄ֪ͨ£¨´ÓÊý¾Ý¿â·þÎñÆ÷ÖÐÊÕµ½ÕâЩ֪ͨ£©¡£Ò»¸ö¼òµ¥µÄ·½·¨ÊÇʹÓà PEAR::Cache_Lite ³ÌÐò°ü£¬ËüΪÄúÌṩÁËÒ»¸ö¿É¿¿µÄ»úÖÆÀ´Ê¹»º´æÊý¾Ý±£³Ö×îÐÂ״̬¡£ÓÈÆäÊÇ£¬Äú¿ÉÒÔʹÓà Cache_Lite_Function ÀࣨPEAR::Cache_Lite ³ÌÐò°üµÄÒ»²¿·Ö£©£¬Í¨¹ý¸ÃÀàÄú¿ÉÒÔ»º´æº¯Êýµ÷Óᣠ¡¡¡¡ÀýÈ磬Äú¿ÉÒÔ´´½¨Ò»¸öº¯ÊýÀ´Ö´ÐÐÏÂÁÐÈÎÎñ£º½¨Á¢Êý¾Ý¿âÁ¬½Ó¡¢Õë¶Ô¸ÃÊý¾Ý¿âÖ´ÐÐ select Óï¾ä¡¢»ñÈ¡¼ìË÷½á¹û²¢×îÖÕÒÔÊý×éÐÎʽ·µ»Ø½á¹û¡£È»ºó£¬Äú¿ÉÒÔͨ¹ý Cache_Lite_Function ʵÀýµÄ call ·½·¨»º´æÓɸú¯Êý·µ»ØµÄ½á¹ûÊý×飬ÒÔ±ã¿ÉÒÔ´Ó±¾µØ»º´æ¶ø²»ÊÇ´Óºó¶ËÊý¾Ý¿â¶ÁÈ¡ÕâЩÊý×飬ÕâÑù¿ÉÒÔÏÔÖøÌá¸ßÓ¦ÓóÌÐòµÄÐÔÄÜ¡£È»ºó£¬ÔÚÊÕµ½»º´æÊý¾Ý¸ü¸ÄµÄ֪ͨʱ£¬Äú½«Ê¹Óà Cache_Lite_Function ʵÀýµÄ drop ·½·¨É¾³ý»º´æÖеĹýÆÚÊý¾Ý¡£ ¡¡¡¡»Ø¹ýÍ·À´¿´¿´±¾ÎĵÄʾÀý£¬Äú¿ÉÄÜÒª´´½¨Á½¸öº¯Êý£¬ÓÃÓÚÓ¦ÓóÌÐòÓëÊý¾Ý¿â½»»¥£ºµÚÒ»¸öº¯Êý½«²éѯ ORDERS ±í²¢·µ»Ø¾ßÓÐÖ¸¶¨ ID µÄ¶©µ¥£¬¶øÁíÒ»¸öº¯Êý½«²éѯ ORDER_ITEMS ±í²¢·µ»Ø¸Ã¶©µ¥µÄ¶©µ¥Ïî¡£¡°Çåµ¥ 4¡±ÏÔʾÁË°üº¬ getOrderFields º¯Êý£¨¸Ãº¯Êý½ÓÊܶ©µ¥ ID ²¢·µ»ØÒ»¸ö°üº¬Ëù¼ìË÷µ½¶©µ¥µÄijЩ×ֶεĹØÁªÊý×飩µÄ getOrderFields.php ½Å±¾¡£ ¡¡¡¡Çåµ¥ 4. »ñÈ¡Ö¸¶¨¶©µ¥µÄ×ֶΠ£¼?php |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |