如何使用 php、mysql、css、jquery 和 html 创建简单的网站?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5645669/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to create simple website using php,mysql,css,jquery and html?
提问by 0001
I am new to php. I want to develop a website for some electronic company using php, mysql, jquery, css and html.
我是 php 新手。我想使用php、mysql、jquery、css和html为一些电子公司开发一个网站。
Anybody guide me how to start with it? Please give me some examples of website developing using php.
有人指导我如何开始吗?请给我一些使用php开发网站的例子。
回答by kapa
Website development is a profession. It is not something you learn in a day. Your question is like: "I want to build a car. Please tell me how can I build a car. Give me an example please.".
网站开发是一种职业。这不是一天就能学会的。你的问题是这样的:“我想造一辆汽车。请告诉我如何造一辆汽车。请给我一个例子。”。
If you are really interested in learning webprogramming, forget about "developing" a website for any company (for the sake of all Internet users, please), and give yourself a few months of intensive training.
如果您真的对学习网络编程感兴趣,请忘记为任何公司“开发”网站(为了所有互联网用户,请),并给自己几个月的强化培训。
If you want to start, search SO, it has loads of links to great tutorials. You can also search Google (and please avoid w3schools).
如果你想开始,搜索 SO,它有很多很棒的教程的链接。您也可以在 Google 上搜索(请避免使用 w3schools)。
Learn building a simple website using HTML and CSS only first. And I don't mean spending an hour on it and finding out how to turn a word green. Later you can start learning how to output HTML using a programming language (like PHP). Your question have not clarified if you have ever programmed or not, if not, you need to take your time on this. And this is just a quick outline.
首先学习仅使用 HTML 和 CSS 构建一个简单的网站。我的意思不是花一个小时来研究如何把一个词变成绿色。稍后您可以开始学习如何使用编程语言(如 PHP)输出 HTML。你的问题没有澄清你是否曾经编程过,如果没有,你需要花时间解决这个问题。这只是一个快速概述。
回答by Mikecito
Not sure how advanced you're looking for...
不确定您要寻找的高级程度...
http://php.net/manual/en/tutorial.php
http://php.net/manual/en/tutorial.php
http://devzone.zend.com/article/627
http://devzone.zend.com/article/627
If you really want to learn PHP, get a good IDE (Eclipse or NetBeans would work), and just start googling "PHP Tutorial".
如果您真的想学习 PHP,请获得一个好的 IDE(Eclipse 或 NetBeans 都可以),然后开始搜索“PHP 教程”。
Shortly you'll find yourself googling more specific things, like "PHP Session Variables", or "PHP Date Addition", etc. It really is self guiding as to your specific needs. I would start with the third link in the list above.
很快您就会发现自己在搜索更具体的东西,例如“PHP 会话变量”或“PHP 日期添加”等。这确实是针对您的特定需求的自我指导。我将从上面列表中的第三个链接开始。