Does the following code have a method of optimization?
$catalog _1 = "SELECT name from commodity where Catalog = 1 ORDER by rank desc LIMIT"; $result _1 = mysql_query ($catalog _1 ); while ($row _1 = Mysql_fetch_assoc ($result _1)) {$response []
Note No is a primary key in the Access table
I want to change the ID of no=290 to 11, and the following two sentences do not change after execution
$query = "Update sensors set id=11 where no=290";
$result = $conn->execute ($query);
---------------
I write the php file, in which copy, unlink, Move_uploaded_files will be banned by the server;
However, there are some PHP scripts in the server that can operate correctly. Why is this?
In such an environment, how to modify the server files
To use file_get_contents to read the picture file on the network and write it to the server locally by file_put_contesnts, File_get_contesnts performs no problem, reads the information, and then $data the data that is read out:
Var_dump
There are strings such as:
Get_post_title
Find_my_article
Such a string, how to replace it with regular: Getposttitle,findmyarticle?
With Explode,array_map (Ucword), such a way has been used. Now want to use the regular to achieve, but not
My PHP manual sprintf () is full of English, I can not understand. Is there any warrior who can take the function of the functions (especially the parameter format) to say it in detail?
Reply to discussion (solution)
Please Google translate a
Daniel, what do you do?
Rookie thinks
Htacess The only downside is that the server environment does not support Htacess is dumbfounded win system more trouble
Regular fetch, the time to call is more troublesome
Like a URL
Have not done a similar project, ask a general idea.
Probably means that A,b,c is a three-layer agent, C from B to purchase, b from a stock, a has a total product inventory table.
My current design idea is to create an incoming table, each time
I self-study has been using WAMP, now to work, I ask Wamp can be competent to work requirements?
Reply to discussion (solution)
What if it's just a generation?? Wamp can be used for the work of the surface.
As long as you are using the
foreach ($_files as $f)
{
Working with Chinese names
if (function_exists ("Iconv")) $f [Name] = Iconv ("UTF-8", "GB2312", $f [name]);
Check if a file with the same name already exists
if (file_exists ($f [name])) header ("http/1.0 403");
Save
Http://www.insun-china.com/index.php?mod=about&ac=jianjie
Looking at a website URL seems to be the way to access the entire site through the index.php value. Style and ci somewhat like that but certainly not ci,ci should be to the following this
41778.00000000
41778.77877315
What kind of a time record is this?
In writing a small program, referring to another software data frame, the software with "41778.77877315" this form to record time, do not understand, do not know how to convert, not
How do you put the following database MySQL content into the TINYMCE editor:
Let me tell you about JavaScript functions:
Results
Directly with the PHP select out, no use! Can not display the JS code that paragraph,
And I do not need
Title
Direct with show Processlist can only display the previous small segment of the SQL statement, which is weak for longer SQL statements
How to see a complete SQL statement
Reply to discussion (solution)
Find a way. Show full
Dependency Injection (Dependency injection), also called control inversion (inversion of controls), is an important object-oriented programming principle to reduce the coupling problem of computer programs, which can eliminate the direct
I want to develop a subscription account, I have little knowledge of it, web development experience is very few, only recently began to consult the relevant information, mainly interested in it. I think there are a lot of servers, such as Baidu
Generate 100w Digital Remix strings How many bits to write in order to maximize the guarantee not repeat to ask
Reply to discussion (solution)
10 digits, 26 uppercase letters, 26 lowercase letters, total 62 statecan be considered as 62 binary
Want to crawl the remaining stock quantity on this site
Http://www.beibei.com/detail/105272.html
Use fopen (), and then read the source code, display the inventory amount of 0, checked the data said need to disguise HTTP, do not know how to do,
When using the URL and token to enable the public Platform Development Mode message interface, the display] "Your server does not respond correctly to token authentication, please read the Message Interface Usage Guide", do not know what is the case,
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