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
PHP General page, first look at the style
The code is as follows:
0? Intval ($page): 1; $conn = mysql_connect ("127.0.0.1", "Root", "") or Die (' connection database failed '); mysql_select_db ("Demo", $conn); MySQL _query ("SET NAMES UTF8");
MySQL rollback, when a foreign key constraint and other errors, will be automatically rolled back?
Do I need to manually determine the foreign key and then manually rollback it?
Reply to discussion (solution)
What does automatic rollback mean?
You know that Ecshop used a lot of DW in the library file insertion technology
But I found in the use of a very contradictory place:
The above sentence is the library file that loads the header on the home page.
My doubts are the
asterisk
When user A is concerned about the public number, share a product with a friend. The product URL has uid=a identification parameters.
User B, after clicking on the product link, followed the public number.
How to judge User B is to point to the user
The teacher said Mysql_free_result ($query); is used to free up memory.
But I recently found a problem writing a program. I'd like to discuss it with you.
Mysql_free_result ($query); Can I use it only after the query record has ended?
Such
The LARAVEL5 route supports caching. You need to execute the following command:
PHP Artisan Route:cache
After execution, report the following error:
Route Cache cleared! [Logicexception] Unable to prepare route [/] for serialization. Uses
Emotional theater: Love Apartment Hardcover
Plot
Just want to match the hyperlink of class black, don't want to match class= "Font12-orange"
May I ask the great gods how to write them?
Reply to discussion (solution)
$str =
(. +?)
How to use Preg_replace to delete the directory before the images folder, the folder images the front and back directories are dynamic.
For example, or in a nutshell, replace the strings in the middle of the src= and images.
Seek the guidance of the
Add: I have a task table, Task table, table with fields, expected completion time (complete_time), Tasks feedback content (feedback).
Now there is a need to scan the table regularly, and send a message to the task executor if the task does not have
$x = 3;
$y = $x;
echo "X is". $x. Php_eol;
echo "Y is". $y. Php_eol;
$x = 5;
echo "X is". $x. Php_eol;
echo "Y is". $y. Php_eol;
?>
Why do I get the result?
X is3
Y Is3
X is5
Y Is3
No
X is3
Y Is3
X is5
Y is5
Reply to discussion (
Please take a look, this site is developed using the thinkphp framework? Thank you
Yindiandai.com
Reply to discussion (solution)
It should not be.
It should not be.
Can you tell what the PHP framework is?
I think his layout style is
Http://software.ftp.sscmoni.com/1.png
Picture upload not to use, trouble everyone to open to see under
This function inside the pass parameter, is that the red box inside, base64 decryption, pass the parameter decryption is unsuccessful, if directly
Overview
Queue concept: Slightly, do not know the self-resolution. (PS: here Laravel version:5.1)This is often the case with App server development:
A large task can be divided into 1,2,3,4 small tasks, where 2 of the completion depends on the
Find a lightweight database class Medoo, feel good, but when used to find a very strange problem
When using MySQL, he assembled SQL table names, field names in double quotation marks, so that the resulting statement cannot be executed directly
$arr =array (4,1,9,2,3), function Quick ($arr) {if (count ($arr)
Good friends, little brother with PHP to achieve a quick sort of problem. The final result is always null, baffled. Please enlighten me, thank you!
Reply to discussion
The Ajax return value of PHP starts with
Then lead to parse error, cannot parse, normal should not have above this meta head, what solution ah?
Prompt parsing error:
The return value of the Ajax received:
Reply to discussion
"Arr": [
{
"A": "XXX"
},
{
"A": "YYY"
}
]
This is the data from the previous paragraph Print_r.
I want to change to:
"Arr": [
{
"XXX",
"YYY"
}
]
Reply to discussion (solution)
Is anyone here??This point
$s =
Array ([ arr] = =
How to make an interface for each other to invoke, is the API interface, the return data format is the JSON,HTTPS request protocol. The purpose of this interface is to implement some data in the company's website database to be displayed on the
Laravel Environment Installation
Composer I think it is a special thing in PHP, such as our PHP installation Extension module is compiled a. so file, and then loaded into PHP, and Laravel with a composer called Things to solve the dependency problem.
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