If I enter such a line of code in conn.php and run
The computer that holds the database ip:192.168.1.221
$conn = Sqlsrv_connect ("192.168.1.221", Array ("Database" = "DatabaseName", "UID" = ' sa ', "PWD" = ' pass123 ')) Or Die (Print_r
Recently intends to do a high-performance chat server, do not know how Thinkphp3.2 efficiency? So what is the efficiency of the framework? So the test.
Task: Reads 44 data from the database.
1, Tp3.2 Home->controler->indexcontroler->index ()
$m =m ('
Title
6 Table union query, the current use is still a LEFT join B right join C to a LEFT join D to a LEFT join E to a LEFT join F such
In order to ensure that each record in table A is found in the BCEDF table, there are only a few conditions to
Title, in the Windows environment NTS version of PHP does not php5_apache2.dll, and Apache server can not be bundled with the solution. (Do not change to IIS)
Reply to discussion (solution)
You have to figure out a question: What is NTS?NTS
I am using the Discuz X3.1 version.
Download the Ucenter_1.6.0_sc_utf8
Examples of official use now
\ucenter_1.6.0_sc_utf8\advanced\examples below the ucexample_1.php
Ucenter communicates successfully with ucexample_1.php (Ucenter has display
The requirement is this:
Member shopping, will generate an order number, this order number must be a number, and is within a certain range of data, such as 1 to 100,000.
I'm using rand (1,100000), generate a random number, get this random number,
The following code is changed from the wording of the DB to CT, but the result is wrong, I do not know where to write the wrong
Init (); $data = $query = C::t (' #portal_category ')->fetch_all ($catid); while ($value = $this->fetch_array
Second-tier remote cities
There's No. NET job or call people are not hiring anymore
Instead of randomly playing a few strokes PHP is still hiring
It's better to learn PHP at the beginning.
I learned in school ASP. NET Java SSH came out after
Who knows what the keyword recovery principle is
I knew I'd get the XML and echo the XML back, but what's the requirement? I can't apply it flexibly.
Reply to discussion (solution)
The server is the equivalent of a forwarding server, the
Form form submitted to the background PHP processing, after processing needs to call the day before yesterday JS a method to show a pop-up layer, but the hint error can not find this JS method, call method is directly echo a section of JS code.
Want to achieve a kick out of the member's function, but how to do in PHP, my idea is to record each member login session ID, to kick a member of the time through this ID to the server to remove this session, to kick the effect, but do not know
In the process of PHP development, sometimes used to intercept a certain string of two special strings, and to do special processing of the string, then what special processing of the intercepted string, we do not care, we first talk about PHP
CI down with the MySQL stored procedure, the connection must be freed to execute the other query again, but I made an error after releasing the connection here, the code is as follows:
Get node Information
Executing stored procedures
$query = $this->
I see that there is a select G.name SUM (og.names_number) as Names_number; this g. What do you mean, why there is a decimal point ah, there is no g in the table
Reply to discussion (solution)
. The previous q indicates the table name or the
Use Phpmailer, account and password are correct, and test pass.
1. Single send will succeed
2. However, when writing a cyclic email, only the first successful send, the subsequent send failed, check the log display: Could not authenticate, verify
Of course, the main is to find the bug, otherwise there is no other role, such as it can find out the code logic structure What, there is this confusion, please advise.
Reply to discussion (solution)
It is not enough to find the bug, and the
This simple debugging function seems to be available in the 5.4 version, used before, now forget how to use, who knows?
Reply to discussion (solution)
You mean Xdebug?
No, PHP comes with a simple HTTP feature
Oh, you mean PHP's httpserver,
(It's hard to pass a picture) This is a post from someone else but I really want to know the answer to these questions (the more clearly the better) so I myself in the replacement, I hope you big fairy support, thank you
All the fairies, let's get
Seek the Master:
My Computer environment:
Windows XP 32-bit
PHP IDE has Zend Studio for Eclipse, Eclipse for PHP developers
The server has Apache 2.2.25, Wamp integration
PHP version 5.3.28
IDE, server can be swapped, it is important how to
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