Insert sort, quick sort, and PHP object-oriented knowledge
External sorting method:
Because the data is too large to handle so much data, it is an external sort to split the big data into small data. Use disk to store files.
Sorting algorithm:
What is the difference between a standalone custom function outside a class and a static method in a class?
function Test () {.........return $result;}function Test1 () {.........return $result;}......function Testn () {.........return
How can I convert the data into this form?
This seems to be binary. what function does PHP use to convert a string or an array to this?
Share to:
------Solution--------------------
Pack ()
Reverse is unpack ()
------Solution----------------
Error running pear help in PHP command line
After installing pear, the CD enters the PHP installation directory, runs Pear Help, and an error occurs as follows:
PHP Parse error:syntax Error, unexpected ' @ ' in d:/. /pear/pearcmd.php on line 28.
But
PHP implementation plus buddy feature
Ideas:
1 users send a friend request after the application stored in the Application data sheet, the status is not verified
2 when the user logs in, the query request form has the same UID and the applicant ID,
PHP Custom Global constants and class constants
/** * 1, define (name,value,case_insensitive) custom global constants, default case Sensitive * 2, Const defines class constants. * 3, the constant name do not use "$" * 4, the name of the constant
Looping table output
How do I do tabular output with foreach?
The data in the database is (the following is a student's elective information)
I'm on the page.
$course = $row [' course_id '];
$sql = "SELECT * from Think_course where id= ' $course '"
CakePHP questions
This is the code I wrote:
Class Bookscontroller extends AppController { var $name = ' Books '; var $help = ' form ';function Add (){ if (!empty ($this->data)) { $this->book->create (); $this->book->save
What is the correct way to write this sentence??
if ($_get[' lx '] = = "1"):
$file _name = $r [' Titlepic '];
Else
$file _name = $r [' Picurl '];
End If
How to write this sentence correctly??
Share to:
Can PHP package the generated files??
Would PHP be able to package the generated files (compressed into a compressed package)?? If you can, how to achieve
Share to:
------Solution--------------------
Ziparchive
The methods provided
[0] = =
PHP Collection Program Issues
I collected these two paragraphs, collect two product pages, I want the address of the product image
Http://ec2.images-amazon.com/images/I/418Qdk6bctL._SL500_AA280_.jpg
Http://ec2.images-amazon.com/images/I/
WINODWS Installing the PHP development environment
Installation Environment: Windows7 64-bit
Target PHP Runtime Environment: PHP5.4 and Apache2.4
1, open the official website of PHP Windows: http://windows.php.net/download/#php-5.5
2, choose
PHP handles post raw data issues (online, etc.)
XX software, go to connect hxxp://www.test.com/input.php
When the communication is connected, this XX software sends a text file such as: Abc.txt
Then after the PHP operation, back a section of Jason
"Share" PHP desktop applications---Instant messaging software
Jecat-jabber (abbreviated as: JJ) is an instant messaging software developed entirely by PHP. JJ uses the GTK2 Image interface library to implement the user interface. As the name implies,
PHP framework problem, master into AH
Ask a question.
After landing on the homepage index.php, go to check.php to verify, verify success, jump to main.php, how to let main.php in the frame of the home page
A small bug in thinkphp
Two days ago found their website inexplicably a bit more files
Original address: http://bbs.csdn.net/topics/390469279
This morning to observe these inexplicable HTML files, finally found the problem!!!
Reason:
If you turn on
Some questions about waterfall flow Php+js
I downloaded the waterfall stream from the internet, got a long day to find a problem,
There will be one column or two columns of special length
Very not beautiful, I looked at the code, is in the JS
How to tell if the user name and password are empty do not execute the following SQL statement
Beginners to consult, the purpose is to determine the form came over the data, if the blank prompt for the user and password, and do not execute down the
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