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

PHPºÍMySQL Web¿ª·¢ (Ô­ÊéµÚ4°æ) »úе¹¤Òµ

http://www.xhsd.com.cn/books/views.asp?plucode=711126281
Õâ±¾Êé±»³ÆÎªPHPºÍMySQLµÄ“Ê¥¾­”£¬×Ðϸ¿´ÁËһϣ¬µÄÈ·Óкܶà¶Àµ½µÄµØ·½¡£
Ê×ÏÈ£¬ÄÚÈÝÃ÷È·Í»³ö¡£Õâ±¾ÊéµÄÄ¿µÄÊǶÔPHPºÍMySQL×öÉîÈëdz³öµÄ·ÖÎö£¬¶ÔÆäWebÓ¦ÓÃ×öÁ˽ÏÈ«ÃæµÄ²ûÊö£¬Àý×Ó¾­µäʵÓá£
Æä´Î£¬Ð¡£PHP5.3£¬MySQLµÄ´æ´¢¹ý³ÌºÍ´æ´¢ÒýÇæ£¬Ajax¼¼ÊõÓëWeb2.0£¬WebÓ¦ÓõݲȫÎÊÌâ……ÎÞÒ»²»Õ¹Ê¾×Åм¼Êõ¡£
µÚÈý£¬Ð´×÷ˮƽ½Ï¸ß¡£ÊéÖеĸÅÄî¼°Óï·¨½éÉܼܺòÁ·£¬Ê¾Àý×î¼Ñ£¬Óï¾ä¾«¶Ì£¬Ã¿½ÚµÄÄÚÈÝÒ²²»Ì«¶à¡£
µÚËÄ£¬¹á´©Èí¼þ¹¤³Ì˼Ï룬¼°×÷Õߵľ­Ñé¡£Á½Î»×÷Õß¶¼ÊǾ­Ñé·á¸»µÄ´ÓÒµÈËÔ±¡£
µÚÎ壬´úÂëʵÓá£ÉÔ×÷Ð޸ļ´¿ÉÖ±½ÓʹÓá£
µ±È»Õâ±¾ÊéÒ²Óв»×ãµÄµØ·½¡£
±¾ÊéµÄ¶ÁÕß¶ÔÏóÒªÇóÓÐÒ»¶¨µÄ¾­Ñ飬¶ÔÓÚÍêÈ«µÄ³õѧÕßÀ´Ëµ£¬¶ÁÆðÀ´¿ÉÄÜ»á±È½Ï³ÔÁ¦¡£ÁíÍâÕë¶Ô´óÐÍ»òµç×ÓÉÌÎñÀàÐÍWebÕ¾µãÓ¦Óã¬ÆäËû·½ÃæµÄÓ¦Óò»×ã¡£
¼Û¸ñÆ«¹ó£¬714Ò³£¬95Ôª¡£
¿ÉÒÔ½è¼øµÄµØ·½ÈçÏ¡£
Ê×ÏÈ£¬Ò»¶¨ÒªÇå³þµØ¸æËß¶ÁÕߣ¬PHPºÍMySQLÊÇ×öʲôµÄ£¬¿ÉÒÔͨ¹ýÒ»¸öµäÐ͵ÄʵÀý˵Ã÷¡£
Æä´Î£¬ÒªÈöÁÕß¿ìËÙÈëÃÅ¡£
µÚÈý£¬ÊµÀýÒ»¶¨Òª·á¸»¡¢ÊµÓá£
µÚËÄ£¬Æª£¨Ê¹ÓÃPHP£¬Ê¹ÓÃMySQL£¬µç×ÓÉÌÎñÓ밲ȫÐÔ£¬£Ð£È£ÐµÄ¸ß¼¶¼¼Êõ£¬´´½¨ÊµÓõģУȣкͣͣù£Ó£Ñ£ÌÏîÄ¿£©
µÚÎ壬ÓÐЩ¶«Î÷ҪעÃ÷¶ÁÕßÐèÒª×Ô¼º¶¯ÊÖѧ¡£
¡¶£Ð£È£Ð¿ª·¢ÊµÕ½±¦µä¡·
½á¹¹£º»ù´¡ÖªÊ¶£ÜºËÐļ¼Êõ£Ü¸ß¼¶Ó¦ÓãÜÏîĿʵս
Ŀ¼£ºÍ»³öÏÔʾ“ʵս”£¬Èç¡¶£Ã£«£«±¦µä¡·Í»³öÏÔʾ“×ÛºÏʵÀý”
¡¶£Ð£È£Ð£«£Á£ê£á£ø¡¡£×£å£â¡¡£²£®£°¡¡±à³Ì¼¼ÊõÓëÏîÄ¿¿ª·¢´óÈ«¡·
Ŀ¼£ºÄ¿Â¼Öмӱ¾Õ¹ؼüÄÚÈÝ


Ïà¹ØÎĵµ£º

·ÖÎöPHPµÄob_start()


ÔÚPHP±à³ÌÖÐ, ÎÒÃǾ­³£»áÓöµ½Ò»Ð©Ö±½Ó²úÉúÊä³öµÄº¯Êý, Èçpassthru(),readfile(), var_dump() µÈ. µ«ÓÐʱÎÒÃÇÏë°ÑÕâЩº¯ÊýµÄÊä³öµ¼Èëµ½ÎļþÖÐ,»òÕßÏȾ­¹ý´¦ÀíÔÙÊä³ö, »òÕß°ÑÕâЩº¯ÊýµÄÊä³ö×÷Ϊ×Ö·û´®À´´¦Àí.
¡¡¡¡ÕâʱÎÒÃǾÍÒªÓõ½ Output Buffer(Êä³ö»º³å) º¯ÊýÁË.
´¦ÀíÊä³ö»º³åµÄº¯ÊýÖ÷ÒªÓÐÕâô¼¸¸ö:
ob_start() ¿ªÊ¼Ê ......

ÔÚDreamweaver+WampServer µ÷ÊÔPHP³ÌÐò

°²×°WAPMServ5.2.6ºó,ÓÃDreamweaver¿ÉÒÔ±àдºÍµ÷ÊÔPHP
Ê×ÏÈ£ºÒªÏÈÆôwapmserver,Æô¶¯ËùÓзþÎñ
È»ºó £ºÔÚDreamweaverÅäÖÃÕ¾µã£¬¾ßÌå²Ù×÷ÈçÏ£º
ÃèÊöϹؼüµÄ²½Ö裺
Ïȵý¨¸öÕ¾µã È»ºó
¸ß¼¶ Ñ¡Ï£º
·ÖÀࣺ±¾µØÐÅÏ¢
±¾µØ¸ùÎļþ¼Ð £¨Ñ¡ÔñPHPµÄ·¢²¼Îļþ¼Ð£©
Á´½ÓÏà¶ÔÓÚ Õ¾µã¸ùĿ¼
HTTPµØÖ· Http://localhost/
»º´æ Æ ......

MySQL°²×°ºÍÅäÖÃ

    ×î½üµÄÏîÄ¿ÖÐʹÓÃÁËMySQLÊý¾Ý¿â£¬Ò»Ð©MySQLµÄÐÂÓû§ÔÚÅäÖÃʹÓÃʱ»¹ÓÐЩ²»¹»ÊìÁ·£¬ÌØÔڴ˼Ǽ£¬·½±ã¿ª·¢ÍŶÓʹÓ㬸ÃÎÄÕÂËùÉæ¼°ÄÚÈݾù¿ÉÒÔÔÚMySQL²Î¿¼ÊÖ²áµÚ¶þÕ“°²×°MySQL”ÖÐÕÒµ½¡£MySQL°²×°ºó×Ô´øÁËÓ¢ÎIJο¼ÊֲᣬҲ¿ÉÒÔÔÚhttp://dev.mysql.com/doc/refman/5.1/zh/index.html²é¿´ÖÐÎİ汾£ ......

PHPѧϰ ÔËËã·ûÓÅÏȼ¶ ºÍ ÔËËã·û

ÔËËã·ûÓÅÏȼ¶
ϱí´ÓµÍµ½¸ßÁгöÁËÔËËã·ûµÄÓÅÏȼ¶¡£
½áºÏ·½Ïò ÔËËã·û
×ó ,
×ó or
×ó xor
×ó and
ÓÒ print
ÓÒ = += -= *= /= .= %= &= |= ^= ~= <<= >>=
×ó ? :
×ó ||
×ó &&
½áºÏ·½Ïò ÔËËã·û
×ó |
×ó ^
×ó &
ÎÞ == != === !==
ÎÞ < <= > >=
×ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ