ÓÃphp±¸·ÝÊý¾Ý¿â³É¹¦£¬»¹Ôʱ³ö´í - PHP / ¿ªÔ´×ÊÔ´
ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹ÔʱÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,name,account,mphone,state,islogin)VALUES' at line 2
SQLÓï¾ä³ö´íÁË£¬ºÃºÃµÄ¿´Ï³öÁËʲôÎÊÌ⣬¾ÍÕâµãÐÅÏ¢£¬Ã»·¨¿´ ¼¸ºõÊÇÿÌõÓï¾ä¶¼ÊÇÕâÖÖ´íÎó~ÎÒ¿´ÁËsqlÓï¾äûÓдíµÄ ²»ÖªµÀ»á²»»áÊÇ°æ±¾ÎÊÌ⣿ÒýÓà ¼¸ºõÊÇÿÌõÓï¾ä¶¼ÊÇÕâÖÖ´íÎó~ÎÒ¿´ÁËsqlÓï¾äûÓдíµÄ ²»ÖªµÀ»á²»»áÊÇ°æ±¾ÎÊÌ⣿ ´òÓ¡³öÀ´µÄsqlÓï¾ä·ÅÔÚphpmyadminÀï²âÊÔÖ´ÐÐÁËÂð µ¼³öµÄʱºò×Ö¶ÎÃû×îºÃ¼ÓÉÏ`×Ö¶ÎÃû`·Àֹϵͳ±£Áô¹Ø¼ü×Ö¡£ )VALUES )¿Õ¸ñVALUES ×Ö¶ÎÄÚÈÝҲҪתÒåÒýÓà ÒýÓà 2 Â¥ woannima µÄ»Ø¸´: ¼¸ºõÊÇÿÌõÓï¾ä¶¼ÊÇÕâÖÖ´íÎó~ÎÒ¿´ÁËsqlÓï¾äûÓдíµÄ ²»ÖªµÀ»á²»»áÊÇ°æ±¾ÎÊÌ⣿ ´òÓ¡³öÀ´µÄsqlÓï¾ä·ÅÔÚphpmyadminÀï²âÊÔÖ´ÐÐÁËÂð ¿ÉÒÔ °ÑsqlÓï¾äcopy³öÀ´£¬ÊÖ¶¯Ö´ÐÐÊÇ¿ÉÒÔ²åÈë³É¹¦µÄ¡£ ´ó¼ÒÓÐûÓöµ½¹ýÕâÖÖÇé¿ö£¿ Ìù¼¸Ìõ³ö´íµÄÓï¾ä INSERT INTO admin(seq,passwd,type,name,account,mphone,state,islogin) VALUES (8,'11111111',0,'danny','danny','15980200927',0,0); ´ò¿ª±¸·ÝÎļþ¡£copyÒ»ÌõÓï¾ä£¬Ö´ÐÐһϡ£¿´¿´±¨´í¡£
Ïà¹ØÎÊ´ð£º
Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷ ·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü »¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³ Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨ ......
ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´ ÎÒÓõĵÄÊÇiis smtp <?php $to = 'xueyuxia1988@sohu.com'; $subject = 'the subject'; $message = 'hello'; $ ......
phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë ÀýÈ磺 SELECT time, goodid from dbname1.time, dbname2.goods ÊÇÕâ¸öÒâ˼ô£¿ SELECT time, goodid from ......
дÁ˸öphpµÄÏÂÔØÀà¡£µ«ÊÇÿ´Î¶¼µÃÔÚä¯ÀÀÆ÷ÖÐÑ¡ÔñÏÂÔصØÖ·£¬Äܲ»ÄÜÖ±½ÓÔÚ³ÌÐòÀïÃæдËÀ°¡£¿ ²»ÖªµÀÊDz»ÊÇ˵Ã÷°×ÁË£¬¾ÍÊDz»ÏëÒªÄǸöÑ¡ÔñµÄÌáʾ¿òÐÅÏ¢£¬Ö±½ÓÏÂÔص½Ä³¸öÁÙʱÎļþ¼ÐÖÐÈ»ºó¶ÔÕâ¸öÎļþ½øÐÐÏàÓ¦µÄ´¦Àí »¹Ê ......