转载须知:个人博客随意,记得署名.商用及大中型网站联系我先sodya#qq.com,否则小心"上榜"


加精博文?

只有10010关心我,还有QQ邮箱提醒我今天我生日.虽然是假的,

我一直认为学习不必要那么难,可以有更适合自己的学习方式和学习资料

php的面向对象我一直在学,我也奇怪为什么自己一直学不会,看不懂别人的那些’专业词汇’

我一直觉得对于初学者要从简单开始,做什么就能看到什么,知道自己在做什么,你才能相应地修改

php mvc

  1. m:model is to get data( usually from database,but for simplicity you can just return a string as if it were from databases,it makes no difference from controller
  2. v:view is for presentation. just to show the data in various way,or simply display it the way it is
  3. c:controller is the commander who decide which data to present using which kind of view
  4. all with object .

  5. alter table ttt change create_time date timestamp default current_timestamp;
  6. alter table ttt add email varchar(33) after id;
  7. insert into ttt set name=’royaso’;
  8. select last_insert_id();
  9. delete from ttt
  10. truncate table ttt
  11. create table yyy select * from ttt;
  12. mysql< source /home/roya/a.sql

sudo php5dismod xdebug && service apache2 restart



There are no comments on this post.