Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃ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Ò»ÌõÓï¾ä£¬Ö´ÐÐһϡ£¿´¿´±¨´í¡£


Ïà¹ØÎÊ´ð£º

ÈçºÎÔÚphpÍøÕ¾ÖÐÌí¼Ó±³¾°ÒôÀÖ - PHP / »ù´¡±à³Ì

ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

phpÁª½Ó¶à¸öÊý¾Ý¿âµÄÎÊÌâ

mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......

phpÁ¬½ÓMSSQL Á¬²»ÉÏ - PHP / »ù´¡±à³Ì

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44
Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ