课程: PHP with MySQL Essential Training: 1 The Basics
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Create and style the first page
- In the previous movie, we created the starting structure of the files that we're going to need, the basics of our project. Now, we want to bring those up in a text editor so that we can work with them. For most text editors, you can simply drag the directory onto the icon for the text editor, in order to open up the entire project in a project view all at once. I've already done that here. It works the same way whether you're using TextMate or Sublime or something else. The overall idea is that my project is now visible in one column, I can navigate the files that I want to edit, and I can edit them over in the window on the right. Let's begin by opening up the index.php page. It's immediately inside the public directory. Inside this file, you'll see that I've included a very simple HTML5 template. Nothing special about this. It's just the beginning of an HTML5 document that we could then serve up to the public. PHP pages are just HTML pages that have PHP embedded in them. So this…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。