ID value 50
where ID in (50) is normal
But when the ID value 50,51,52
where ID in (50) cannot be searched
where ID in (' 50 ') does not work
How to Solve
Reply to discussion (solution)
Like or find_in_set can be.SELECT * from TB where id
1. Log the error to the specified file and configure the process as follows
* 1). Log_errors=on
* 2). Error_log=/tmp/php_error.log
1. Log error logs using the Error_log () function
Error_log (' error message to be logged! ’);
Header (' content-
Form
PHP file
I'm writing a jquery now. To clear the name of the content code after each commit is as follows
$ (function () { $ (': input ', ' #recordform ') . Not (': button,: Submit,: RESET,: Hidden ') .
Original from: Https://jellybool.com/post/9-things-that-php-developer-should-know-abo ...
This article is just a personal experience from the actual development of some of the things, not a famous aphorism, written out to have two purposes: one
$str = True?8888:true?100+100:100000000;echo '', $str;
Why am I outputting 200 of the results here? The binding direction is left, starting with the 13th unary operator for the real has been determined to be 8888, ":" After the not executed.
a.php requrice ("template/pc/member/b.php") normal
b.php Requrice (". /c.php ") is prompted with an error: failed to open stream:no such file or directory, if I C.php and b.php placed in the same level, or placed in the next level of B directory
access control is implemented by keyword public,protected and private. Class members that are defined as public can be accessed from anywhere. A class member that is defined as protected can be accessed by itself and its subclasses and parent
Today, we study the cooperation method of worker stackable, write two kinds of forms, although can work, but will appear the problem of memory not listening to growth;
So the first method of the code message to the author, and now he did not reply
1---Returns the value of the element in the array------->array_values ();
2---returns---------->array_keys () of the key names in the array;
The return value of the two functions is also an array, the following table changes to the index,
All use:: No.
Does this mean that this is a static method?
Or does it simply mean that there is this method in this class?
Reply to discussion (solution)
Indicates that there is this methodMost non-instantiation is not available.
Indicates
". $_post[' XH ' [$i]."What do you mean by this sentence? Why add "[" XH "]"? Two before and after each
"."What do you mean?
Why did $XH get an array after the commit? Don't create an array to use the array () function?
Reply to discussion
Recent projects use the thinkphp framework, where one page always has a small blank space at the top.
As shown in the following:
And will only appear in chrome and Edge browser, FF will not have this problem. Since the page is stitched up by
Original http://huoding.com/2015/07/31/457
Because I admire simplicity, I hate all the so-called "heavyweight" frameworks, such as "laravel", and sometimes this hatred is even paranoid enough that if I see a resume that says something like
1) PHP supports basic data types as shown below:
An integer (integer), float (floating-point), String (String), Boolean (Boolean), Array (array), object, and two special types: null (empty), resource (Resource).
Note: A variable that is not
In the process of development, we often use regular expressions, for beginners, many times know how the regular expression is, but when the real need to use, but do not know what function, the specific modifier is also more chaotic. The following
Using PHP to do data processing involves a large number of array operations, here I write down the use of various array processing functions, good memory is not as bad as written!!
First, the use of Array_push: pressing one or more cells into the
Now we're going to write an API, but there's a problem with the transfer of multidimensional arrays when using curl to pass arguments
{ $post _data = Array ( ' auth-userid ' = + 611510, ' api-key ' = ' API ', '
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