I learned php by myself. if you have any recursive algorithm problems, please help me.
Function display ($ I ){
Echo $ I;
Echo '';
$ I = $ I-2;
If ($ I> 0 ){
Display ($ I );
}
Echo $ I;
Echo '';
}
Display (10 );
?>
The value of the output result
How to optimize SELECT * for MYSQL *
FROM add
Order by length (title) DESC
LIMIT 10
There are 20 million data records. it takes more than 1 second to execute .... How to optimize?
Reply to discussion (solution)
This is already the
What are the possible causes of this error? phphasencounteredanaccessviolationat0%ede6 PHP has encountered an Access Violation at 0%ede6
Reply to discussion (solution)
This error happened a few years ago.Your environment is
This error
Problem of connecting adodb to remote SQL2000 the appserv package installed in the virtual machine environment SQLSERVR2003
Connect to the local SQL2000 database
The SQL2000 database on the public network cannot be connected (asp.net can be
My97DatePicker control time modification which is familiar with My97DatePicker?
When I click the second in time, the numbers in the red circle are 0, 10, 20, 30, 40, 50, respectively.
Now I want to set the interval to 30 and only display 0, 30.
A good PHP Cache class introduces the wide application of cache in actual use, which can reduce access to the server database and improve the running speed. Currently, many CMS content management systems frequently use caching mechanisms to improve
PHP jump function PHP jump, that is, redirecting the browser to the specified URL, is a very common function. This feature also has some detailed requirements, such as the number of seconds to wait for the jump, the use of JavaScript to achieve the
For php web pages written and tested under ubantu, I am referring to Headfirst's PHP & MYSQL, but I have compiled the code, but I do not know how to test the code. the webpage form can be filled in, however, I submitted a form on chrome and directly
The name of the src question image in the img label is
Art-99ps-5038520tool%20set.jpg.jpeg
When the linked image is not displayed, use a browser to view the image address. The image 20% is directly parsed as a space.
ART-99PS-50 TOOL
What are the advantages of learning php? what are the advantages of learning php?
Reply to discussion (solution)
Easy to learn and less restrictive
Easy to understand and easy to handle
Many famous websites, such as Baidu and Sina, are
How does php receive post data from multiple forms?
Multi-form submission
'. $ User; echo''. $ Addtime;?>
My code is like this. to add more than two entries to a form, there may be five, ten, and 20 entries.
Reply to discussion
Discuz! Discuz is not installed in X2.5! X2.5: the image cannot be displayed, and the text displayed is large. the format is not good. Web site is http://mdm666.com, please help to see where the problem is.
Reply to discussion (solution)
The
For help, ecshop non-member jump to this little white after a thousand hardships finally achieved the ecshop membership registration background review function
The problem is how to enable a non-member to browse the website only on the homepage.
How to display the PHP array on the front-end page: PHP queries database data $ list. volist loops are used when the PHP array is displayed on the front-end page. Now you need to upload this array to the front-end page. the array cannot be changed.
This article describes that the website cannot be accessed after the domain name is entered. you must restart the WAMP to access the website. but after the restart, it will not work again after a while? What's going on ?, If you have any need, refer
How to pass parameters to the php file using js
I wrote a login page. on the login page, I used js to write the code to identify whether the account password is empty. now I want to pass the entered account password to the php verification page. I
Why are you always prompted for an error? please check the webpage with the prompt Notice: Undefined variable: SQL in D: \ web \ www \ cs \ login. php on line 8.
The code is as follows:
$ Username = $ _ POST ['username'];
$ Password = $ _
Can I write an ifelse statement in this way? I was going to embed this piece of code into a php script, but it always prompts an error:
Parse error: syntax error, unexpected T_ELSE in C: \ AppServ \ www \ demo \ templates_c \ 1d7c7a527b6335cc7a62330
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