PHP form submission Why can be submitted by Get method and post method can not be submitted, always show:
notice:undefined Index:form in C:\xampp\htdocs\index.php on line 2;
This means that the Post method fails to pass the value, is not understood,
Today I think about a half day Leng did not think out, is to determine whether the user name and password is correct
Write your own code as follows:
$user = $_post["user"];
$pwd = $_post["pwd"];
$str =mysql_query ("select * FROM member WHERE
Laravel a lot of tutorials on this piece,
The so-called control reversal, is the main class to complete all the things to be done by subclasses, this design thinking is called control inversion
There are many ways to achieve control inversion,
New Web page
$link = @mysql_pconnect (' 127.0.0.1 ', ' root ', ');
mysql_select_db (' MySQL ', $link);
$query = "Select Host,user from User";
$result =mysql_query ($query, $link);
Gets the field
while ($filed =mysql_fetch_field
Under Windows, PHP.ini is set to GBK
Preg_replace ('/[kanji]/', ' ah ', ' 555 Kanji 555 ')
Why would become 555 hehe 555,
What I want is 555 hehe 555, a Chinese corresponding to a "ah", the result of a Chinese corresponding to two "ah",
Is it
Let the computer room installed the server operating system windows2012, found that file_get_contents can not be used, check the php.ini are correct. After using the Cul method, but the timeout is serious, the basic is 10 seconds!!!
Suspect room
lowercase "A to Z", underscore "_", small short horizontal "-", as a group, called A, can contain one or more members of Group A.
The number 0-9, which is a group, called B, can contain one or more members of Group B.
Pure a combination, or pure B
The use of Laravel5 middleware (1)
1. Creating middleware
PHP Artisan Make:middleware _name_middleware
2. Register Middleware
2.1 Middleware Registration in kennel.php
2.2 The default is stored here and is automatically called
/** *
This is a submit data and the effect shown on this page but now there are problems such as I submit 10 times the data may be two times after the submission and refresh the page does not show the data just inserted I did before the other page is not
# # #就这个下载就行 ' composer Create-project laravel/laravel --prefer-dist my_laravel '--prefer-dist means compressed download compressed, Because there are a lot of things in the frame we don't need to move My_laravel can be customized, is the download
I think which test directory does not mean much, I pay directly, do not test it can?
Reply to discussion (solution)
I do pay development, this question a bit mentally retarded, hope to get everyone to answer.
Is the problem too
Used in Java a few years ago, found to be comfortable, but slower than PHP, now learning thinkphp framework, very good MVC layered processing, but do not know how you use thinkphp, how to use thinkphp to handle business and database operations, If
For example, there's a lot of overlap between these two pieces of code. I want to encapsulate them into a class that calls this class every time I use it, but I didn't write a class. What constructors public private know is not write feeling
Premise: All data items in a data table (for example, all players) may have the same or different attributes (fields such as race items, instructors, entry types, etc.) and now require merging cells with the same properties in the data item when the
SonarQube PHP 2.8 was released.
Improved logging:
Bug
[SONARPHP-598]-False Positive selfkeywordusage (S2037): Methods which cannot be overridden
[SONARPHP-599]-NullPointerException in Phpunitresultparser for the report with empty
There is a text, to import the database, to use the PDO notation
First grade: Xiao Ming, Xiao Hong, xiao ..., Xiao Bai
Second grade: Small A, small B, small C,...... Small Z
......
The data table you want to import is
Name,banji,other
Xiao Ming
Environment
Need to know Cookievalidationkey: A purely configuration item that is closely related to the local environment.
However, in some cases, Cookievalidationkey is required by OPS to intervene, rather than randomly and automatically
The problem is to merge the following two two-dimensional arrays into an array based on their same ID
$arr = array (' ID ' =>1, ' name ' = ' Zhangsan ', ' sex ' = ' n '), array (' ID ' =>2, ' name ' = ' lisi ', ' sex ' = ' V '), array (' ID ' =>3, '
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