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

php½Ì³Ì£ºmysqlµÄ³£ÓÃÓï¾ä

¹ØÓÚ PHP ½Ì³ÌµÄÎÄÕÂÒѾ­ºÜ¶àÁË£¬½ñÌì¸ø´ó¼Ò½éÉܼ¸¸ö³£ÓõÄMYSQLÓï¾ä¡£
ÏÔʾÊý¾Ý¿â»ò±í:
show databases;//È»ºó¿ÉÒÔuse database_name;
show tables;
¸ü¸Ä±íÃû:
alter table table_name rename new_t;
Ìí¼ÓÁÐ :
alter table table_name add column c_n column attributes;
ɾ³ýÁÐ:
alter table table_name drop column c_n;
´´½¨Ë÷Òý:
alter table c_table add index (c_n1,c_n2);
alter table c_table add unique index_name(c_n);
alter table c_table add primary key(sid);
ɾ³ýË÷Òý:
alter table c_table drop index c_n1;
¸ü¸ÄÁÐÐÅÏ¢:
alter table t_table change c_1 c_1 varchar(200);
alter table t_table modify 1 c_1 varchar(200);
insert²åÈëÓï¾ä:
insert into table_name (c_1,c_2)
values ('x1',1);
updateÓï¾ä:
update table_name set c_1 =1 where c_2=3;
ɾ³ýÊý¾Ý¿â»òÕß±í:
drop table table_name;
drop database database_name;//ʹÓÃmysql_drop_db()¿ÉÒÔɾ³ýµÄ.


Ïà¹ØÎĵµ£º

PHPºÃѧÂð£¿

          ´ó¼ÒºÃ£¬Çë½ÌÒ»¸öÎÊÌ⣬Âé·³ÓÐÀàËƾ­ÑéµÄ°ï°ï棬лл¸÷λÁË!
         ±¾ÈËÒÔǰѧ¹ýÁ½ÄêµÄ.NET,ÓÃC#£¬ASP.NET£¬Winfrom,SQLServer×ö¹ý¼¸¸öÍøÕ¾ºÍСÐ͵ĹÜÀíϵͳ¡£
ÏÖÔÚµ½Ò»¼Òй«Ë¾£¬ÒªÇóÎÒѧPHP¡£Âé·³¸ßÊÖÖ¸µãһϣ¬P ......

Linux+Apache+Mysql+PHPÓÅ»¯¼¼ÇÉ


LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾­³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......

windowsÏÂapache,mysql,php°²×°ÈÕ¼Ç

½ñÌì·ÏÁËÒ»ÌìµÄʱ¼äÀ´´Óаѻ·¾³´î½¨ºÃ£º×ö¸ö±Ê¼Ç
°²×°Ë³Ðò£º
apache->php->mysql
һЩעÒâµÄµØ·½¼ÇÏÂÀ´°É£º
1. apache Ö§³Ö php
    apache ÅäÖÃÎļþÏ£ºÐèÒªÐ޸ĵĵط½£º
       i.  PHPIniDir "F:/programs/php/"
    &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ