You need to query for unique values in two columns of data that contain $user
For example $user = Pig
The following data indicate that the Sixin
ID Shuozhe Tingzhe
1 Pig Dog
2 Dog Pigs
3 Horses
4 Pig Cattle
Requires query results of 2, 4, (removal
Page code: Server in United States
Date_default_timezone_set (' PRC '); The time zone is set here
$now _day = Date (' l ');
$now _date = Date ("y/m/d");
echo "Now_day =". $now _day. "
";
echo "now_date =". $now _date. "
";
echo Time ();
echo
wrote a message Management page because there are more than one person operation sometimes there will be two people at the same time to open the same message, want to make a status prompt if there is a person has opened this page and someone opened
Want to display the value of the query in the drop-down box
This value is only three of the upper and lower
I'll add a
">">
But that would have two identical values.
If only show one don't know how to write
$sql = "Select * from ' xx '";
$
How to use ImageMagick library to realize the function of imagecopyresampled in GD library? The two pictures stacked together, read English documents to see vomit, to find a shortcut, even tell a method name I study, thank you!
Reply to
The following test code, I built in the local appserv environment, execute without error. and can be connected and executed with the client.
!--? php//reduce errorserror_reporting (~e_warning);//create a UDP socketif (!) $sock = Socket_create
Look at the PHP manual, $_server[' Request_time ', refers to the start of the script run time, but the question is:
My present time is obviously 2014-03-28 11:27,
But I
echo Date (' y-m-d m:i:s ', $_server[' request_time ');
The time to come
Above is a web App's index page, now has a URL of http://********.com/index.php?m=weixin&a=indexWhich jump page does this URL point to? Reply to discussion (solution) Your own test, you give the information completely do not know where to jump
In accordance with the official source code, I knocked over the control. Just started knocking. I found a little problem.
First I wrote that thinkphp.php is the public entrance file.
// +-----------------------------------------------------------
Title
PHP How to implement compressed files and I would like to be able to add a password.
As far as I know, the use of system commands can be implemented, PHP self-extension can support the compression of files and directories, but do not know
There are ' Chengji ' fields in database Tabel three values for failing to pass
The page shows the statistics of three values
I use
SELECT ' Chengji ', COUNT (*) from ' table ' GROUP by ' Chengji '
In MySQL can come out but how to display in the
1, first of all, Curl's encyclopedia explanation is:
PHP[2] Supported by the Libcurl library created by Daniel Stenberg allows you to connect and communicate with various servers using various types of protocols. Libcurl currently supports HTTP,
Switch.....case statement with its high interest rate and high convenience has become my most commonly used choice statement, Stristr function Everyone knows it, the combination of these two with the current time to do parameter write statement is a
thinkph in the end how to output Excel, the younger brother quickly crazy. Front desk is
The Loop output table, name = "List" id = "VO". Click the button, how to make it output to excel in the form of a table, crazy. Great God, come and help.
For example, there is a two-dimensional array
$myarrnews =array ();
$myarrnews =explode ("| | **| | ", $MYSTR); Content from $MYSTR, including multiple news records
$myarrline =array ();
$myarrline =explode ("| | %%| | ", $myarrnews [$i]);
This is what the problem is, just buy the space.
Server is Windows
Reply to discussion (solution)
Can you run a page simply?
Server reported 500 error when running PHP programThis is because PHP error display function is not open, PHP
In the index.php file, there are
echo New Form ("index.php"); A form is a class that has a construction method inside it.
echo New Result ();
What does this mean, new is not creating an object? So the output object can also ah. What's the name of
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