There is a customer table, one of the fields is stored in a phone number, the customer every time you buy a phone number, I now want to query this field repeatedly record the most, and arranged in sequence, the SQL should be how to write it.
$host = File ('./aa/host.txt ');
$keys = File ('./aa/keys.txt ');
For ($j =count ($host)-1; $j >=0; $j-) {;
Echo '
'. Trim ($keys [$j]). ''. Php_eol;
}
?>
Now it's all out. How to limit the output how many, please hero help complete write down AH
I want to redirect the request to http://www.***.com/wxchat/index.php/api/index.php in the. htaccess file to http://www.***.com/wxchat/index.php/ What about the API? Rewrite rule is not familiar, please heroes help thank you
Reply to discussion
PHPCMS Phpsso Communication Successful registration failed
$status = $this->client->ps_member_login ($username, $password);The return value here is 0.Phpcms's Phpsso is very pit. Ask the great God to help you.
Reply to discussion (solution)
When
PHP Framework
The method of static PHP page, do not use frames and templates. Also take into account the page and so on.
Thank you!!!
Reply to discussion (solution)
Also consider updating the issue!!!!!! (important).
Find a static CMS to see
PHP Encryption Plugin
The code address is here: Http://pan.baidu.com/s/1xdeDW It contains 2 files, one is an early zeed encrypted file He does not need to verify, there is also the latest version of the Zeed encryption file but a validation of the
PHP Beginner ~ ~ ~ just installed an Apache but can't run ~ ~ ~ The situation is as follows
The input localhost displays the
Last night studied for a long time ~ ~ ~ on the Internet to try a variety of methods are not effective ~ ~ ~
Beg help ~
Self-study PHP, do the search box encountered a problem, when I entered the search string as long as there is no space at the beginning of anything can be, he will all the table all the data are displayed, did not understand what is the problem, the
Chapter No. 2213Fourth first confrontation
Chapter II Delays two yearsChapter fifth the beginning of the Yuan force
Chapter III E-Class work methodSixth Chapter Storage Card
Seventh chapter on the operation of Blood banThe tenth chapter of
thinkphp Template Output
There are several methods in a searchaction, the index () method, the search () method, the Choose () method. The form form submitted to the search () method can be displayed correctly, using the index or choose method to
PHP Beginner Promotion Recommendation book
After six months of learning PHP, basic things understand. (just basic things, because I have never learned anything about computers, just learned a php like what if while foerach what these very basic
PHP MySQL Database garbled
MySQL is stored in ordinary text, the database is not garbled, on the page when the Chinese language garbled, how to solve this problem? Please help us.
Reply to discussion (solution)
The database is not garbled? What
Look at the picture, how do you write this list in PHP? Ask Gao to help ~
Reply to discussion (solution)
". Date (" Y year M D Day ", Strtotime ($k." Days "); echo"";}? >
The code is very rough.
$s = ' 2013-05-31 '; $current =date
My Web page is UTF8 encoded, so I added mysql_query ("Set names ' Utf-8 '") when I saved the data;
MySQL organized into a utf8_general_ci
While I was searching for data,
$so = "Love You 10,000 Years";
Movie ' WHERE ' a0 ' like '% $so% ' and ' A2
This post was last edited by qq43599939 on 2013-08-28 12:42:25
Array (' ID ' =>1, ' name ' = ' China ', ' pid ' =>0), 1=>array (' id ' =>2, ' name ' = ' ' Beijing ', ' pid ' =>1 ') ; Print_r (Catsort ($area)); function
such as $str= "Volcker · Buruli ";
How to filter out the front and back spaces (Volc Bruch), leaving the middle part of the space.
Reply to discussion (solution)
Str_replace ("
Replace
echo preg_replace ('/^\s+|\s+$/', ', $str);
Did a test example, the results are everywhere is wrong, and I can not see where the wrong, help.
Http://www.test1.com/test.htm
http://www.test2.com/There are two files below
Test.js
document.write ("");
test.php
How to judge the empty as long as there is no content to return True
$STR = 0;
!empty ($STR); I can't.
$STR = 0;
$str! = "; I can't.
$str = ";
Isset ($STR); Or not.
How can you let them not think of 0 as empty?
The result I want is
Ajax obtains the ID data, how to submit the data via post to the post page.
such as this, if Id= "ABC" Inside the show is: we and you ...
How can we and you this value by post to the test.php processing page to live this value
Reply 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