This article mainly introduces the PHP development needs to pay attention to a few things summarized, very detailed, the need for friends can refer to. Novice more look to avoid detours.1. Use the embedded HTML code instead of the Echo statement in PHP.Because PHP is an embedded web programming language, you can embed HTML code and
imagined, such code to a few years of development experience in the hands of the people, would like to throw directly into the dustbin, two times the cost of development may be greater than the redevelopment.So remind everyone, if the case, PHP website development not blindly cheap, developers experience different, time cost is different, code quality will also appear very big difference, there are some potential security risks and program bugs, dire
I am a novice php!
Now I want to make a simple website.
Do not want to use any framework (e.g. Zend, yii)
Now the first question is: How do I implement a parent page that can load a child page?
The second question is: How do I implement MVC structure development? or let the page and PHP code basically separated, as low as possible coupling?
Reply to discussi
smtp| Send mail
Because PHP does not provide out-of-the-box SMTP functions, it provides a less flexible mail () function that requires support on the server configuration and does not support SMTP authentication, and is not recommended for use in many situations. The purpose of this article is to specify the direction for the novice, and did not involve those advanced content, a limited level of their own,
Basic Tutorial PHP Novice on the basic Introductory Tutorial directory list, this tutorial by the
Web page teaching Network collection and sorting hope to beginners PHP friends help, when you reprint do not forget to add this site connection, thank you!
Introduction to the Basics of PHP
Registration tab.Fill in the user name and data with your database.The following "database" option, after you fill out the correct server address and user name password, click on the small box behind it, you can select the database to be managed. This feature is especially useful in situations where your users have administrative privileges on multiple data, and you don't want to open all the data at once.The next two tabs I'm not in the detail. "Autostart" is the automatic execution of some SQ
well after saving, close.
Similarly, after loading the module, it is necessary to indicate the location of the module, or restart Apache will prompt "No specific module found" error, here is the simplest way to direct the PHP installation path, the inside of the ext path is assigned to the Windows system path-on "My Computer" right-click, " Properties, select the Advanced tab, click Environment variables, find the Path variable under System var
because PHP does not provide ready-made SMTP functions, but provides a less flexible mail () function, this function requires server configuration support, and does not support SMTP authentication, in many cases does not work properly, Therefore, it is not recommended. The purpose of this article is to identify the direction of the novice, and does not involve those advanced content, the level of its own li
Novice, ask a few PHP good book!
After six months of learning PHP, basic things understand. (just basic things, because I have never learned anything about computers, just learned a php like what if while foerach what these very basic things) to help me to qualify for a good book or good video, the forum of water too d
What development tools does PHP use? What development tools do PHP novice use? I was doing. NET, now turn PHP, what development tools? such as some of these problems often have netizens in QQ group inside asked, while now have time, I used PHP development tools and
Just learning PHP, soon, generally look at the manual, and a book called PHP and MySQL Web development.
Recently in the whole message board, just met a problem.
Page, much like notice:use of undefined constant title-assumed ' title ' in D:\wamp\www\phpmysqlweb\bbs\list.php on line 17
Page is very difficult to see, very tangled ah, I use the Wamp integration package.
Baidu, it seems that a lot of friends als
Life is boring, for the upcoming graduation of me. Majoring in. NET, Microsoft development is very convenient, but the code is to change the taste, by the way to add a chip to the resume. Rookie, can spray yo. Mian. Transfer the topic, continue to speak PHP, since there is a front. NET Learning, learning a primer is very simple PHP, the first to understand how to install the environmentFirst, installation E
is learning PHP, where to find some suitable for novice practiced hand small projects, for recommendation.
This issue has been closed because of a discussion-based question of non-technical questions
Reply content:
is learning PHP, where to find some suitable for novice practiced hand small projects, for recomme
PHP read XML node problem, novice help
This post was last edited by zw28323 on 2014-07-14 16:29:33
I created an XML, structure In PHP, you can get the value of the name node in the XML by using foreach, but to the HTML page that uses the Smarty to fetch the value in the Foreach Loop, please help to see how to write the value that can take the name, I
Tomorrow will start the final exam, and then the day after tomorrow to return to Fuzhou, because the home has not installed the network, therefore, there must be a period of time can not come to the forum, in this before, I think, I gave the novice to answer questions, demonstrated the code, as if not talk about their own learning experience, before leaving, I will talk about my Although Laosheng is a long talk, but I think my situation is still repre
' to ' Z ', then you will be surprised to find that your answer is wrong.Yes, the above code does output ' a ' to ' Z ', but in addition, it will output ' AA ' to ' YZ '. Let's analyze why this is the result.There is no char data type in PHP, only the string type. Understand this, then the ' Z ' is incremented, the result is ' AA '. For the string comparison size, learn C should know that ' AA ' is less than ' Z '.This also explains why the above out
are the process-connected databases. Looking at the object-oriented connection database PHP//connect MySQL with object-oriented style
/** 1. Create mysqli or MySQL object * $mysqli = new mysqli (host,username,passwd,dbname,port); * Equivalent to establishing a connection to the MySQL database*/
$mysqli=NewMysqli (' 127.0.0.1 ', ' root ', ' 123456 ', ' Testa ', ' 3306 '); /** 2. Define SQL statements * The encoding format by default is iso8
PHP Novice Confused
I've learned. NET and Java before
At present, I looked at PHP to find PHP compared to the top two like the package is not good, it feels like ASP
Look at the PHP instructions above that PHP also has an object
Reply to discussion (solution)
What's the problem?
No problem, the novice wrote to play, did not send a sticker ...
Thought you were having a problem. The Wolf is coming ...
Isn't it easy to use iterators?
$p = './'; $ite = new Recursivedirectoryiterator ($p); foreach (New Recursiveiteratoriterator ($ite) as $filename + = $cur) { if (Is_dir ($filename)) continue; $res [] = $filename;} Print_r ($res);
Isn't it easy to use iterators?
$p = './
Here are the steps for me to walk a novice PHP for the first time to install the MONGO module:1. First select the appropriate version of the MongoDB expansion pack download from the Internet;2. Unzip the expansion pack and enter the unzip directory;TAR-ZXF mongo-1.4.1.tgzCD mongo-1.4.13. Execute phpize in the mongo-1.3.2 directory with the following command: (Note: This tool is a tool for adding extensions
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.