First, HTML CSS
Second, read Wikipedia: Https://en.wikipedia.org/wiki/Main_Page
Third, PHP official website: http://www.php.net
Iv. Overview of PHP
4.1 PHP for developing website programs
4.2 PHP for developing dynamic pages
4.3 php is a
SQL statement Code
CREATE TABLE sessions ( ID CHAR (+) NOT NULL, data TEXT, last_accessed TIMESTAMP not NULL, PRIMARY KEY (ID ) );
Custom session Processing Code
Calling code on a normal page
Colour_blue
Learning and Communication in PHP
In PHP writing you will see a lot of fixed use keywords and characters like $
and the following are some of the people who think that common use of sharing
Font design and Effects:
used to mark text italic;
Laravel framework, the foreground uses Ajax to submit form data,
When type: ' Get ', the background can be obtained by $request->user ()->id to the user ID,
but
When type: ' Post ', the background passes $request->user ()->id error 500.
routes.php
First locate the config.php file under the Conf subdirectory in the common directory in the project files directory
Add the following code:
' Db_type ' = ' PDO ',
' Db_user ' = ' root ',
' Db_pwd ' = ' database password ',
' Db_prefix ' = ' think_
The following code is in the editor by clicking the H2 button, the popup input information output this result: [H2] Popup input content [/H2]
(function () {function Wecenterh2dialog (editor) {return {title: ' H2 ', minwidth:470, minheight:110,
1, first open the Apache configuration file httpd.conf, and remove the # # # # conf/extra/httpd-vhosts.conf front, enable the virtual host feature
2, the first to configure the localhost, so as to avoid future access to localhost problems, my Wamp
1. Recently, in the course of development, it has been noted that such a phenomenon is often
The curd operation of the data will be put into the module.In
Controller Calland the corresponding parameters can be passed! I am personally disgusted by
The difficulty of random generation is how to avoid collisions, some people say with md5,guid these mechanisms ah, of course, but as accounts, look at the chaos, and the generation of bits too long.
This method only need to solve the concurrent
In PHP, you can use either single or double quotation marks to define a string. There is no difference between the strings defined by these two symbols in normal usage. Today, I wrote a few lines of code as an example of "address assignment," in
Recently co-development projects always found that the PHP output is not the same as the code is not the same as the wit I feel that the code has a problem to find all the Utf-8 the last file content is deleted after the discovery of 3 character
Learn the regular expression of half a year, also can not say always learn it, is and it has been dealing with, how to use regular expression to solve their own problems, and also to consider how to match a large number of text to optimize it.
There was a problem with Php+mysql when you encountered a character disorder, the workaround:
After mysql_connect add a set NAMES UTF8, you can make the database of UTF8 de garbled, for GBK database use set NAMES GBK, the code is as follows:
1
PHP is simple, but mastering is not an easy thing to do. We have to know how it works in addition to using it.
PHP is a dynamic language for web development. Specifically, it is a software framework that implements a large number of components in
PHP code
An assignment statement; the "Var_dump" function can display the data type of our variables.In the variable, because the variable occupies a different space unit, but also divided into several data types, like the supermarket
We know that the session is a mechanism for maintaining the session connection between the client and the server by the limitations of the HTTP protocol.
Visitors to the site are assigned a unique identifier, the so-called session ID. It is either
Want to use PHP to write graduation design background, the function will not be very complex, visual inspection is to deal with some forms, operating the database of several tables, write an interface. Is it good to write native or to learn a
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service