Used to have been using Apache, directly next Wamp a key installation OK can use, today with Nginx server, bitter b loaded php installed MySQL install the Nginx, and the trouble with the configuration and version of the corresponding, I was so upset
The PHP code is as follows:
echo "ISBN: ". $isbn."Title: ". $name."Author: ". $author."";
The data is obtained from the database and then assigned to $ISBN.
Garbled display
Add code:
echo "
";
After:
How to solve Ah??
Reply to
For example, the release time of a movie is 22:50:00, the total length of the movie is 01:40:00, so how to calculate the final end time?
Reply to discussion (solution)
$date = new DateTime (' 22:50:00 '), $date->add (New DateInterval ('
It feels a little bit around, so I'm going to tell you the problem.
The client form has multiple arrays, such as the item array, an info array, for example:
Now to validate the form, all 4 items must be filled
I
Within the framework of the IFRAME, if the current page in the frame is news.php, there is a link pointing to news.php?id=1, and after the point is complete, the frame is blank and no page is loaded.
is to link to this page no response with
I have a table test with three fields in it.
Uid,one,two,uid is an int type, self-increment, one field is float (3,2) and the field is float (5,2).
According to the one field I can insert 123.12 such numbers, that is, the front three bits, the
such as a table, if you want to query all the values of a single field how to write it, I know if the whole thing is
$m =m (' Table '), $result = $m->select (); $this->assign (' res ', $result);
Then the foreground uses volist to loop out the
Millions of data were checked directly Nginx 502 bad gateway. Another server is good. I cannot log on to the server to view the configuration. Ask you to get nginx+php comrades. What are the settings of your server? I sent it to the hardware
In this good sound, once in Hunan satellite TV "hundred Change Big Café show" as vocal music teacher's Weixeeman will debut. [Img]115[/img] In addition, starting next week, each tutor will take their own dream tutor to participate in the team battle,
There are two problems when judging the file type. The code is as follows:
if ($type!== ' gif ' | | $type!== ' JPEG ' | | $type!== ' png ') {
echo "Format error";
}
else {
Echo $type;
}
Question 1: Not equal, is with!==?
Issue 2: | | It doesn't work,
Beginner PHP, the knowledge of the API for 0, query some information, or do not understand, please God with easy to understand the words of the API to say it, the younger brother kneeling Xie.
Reply to discussion (solution)
API interfaceAPIs (
An existing array is as follows
$array = Array (' a ' = = ' A ', ' b ' = = ' B ', ' c ' = = ' C ', ' d ' = = ' d ', ' e ' = = ' E ', ' f ' = = ' f ', ' g ' = = ' g ', ' h ' = = ' h ', ' i ' = = ' I ', ' j ' = = ' J ', ' k ' = ' k ', ' l ' = ' = ',
Recent sites want to change URLs to pseudo-static URLs
The following settings have been made in. htaccess,
Rewriteengine on
Rewriterule news/([1-9]+[0-9]*) $ news_info.php?id=$1
Rewriterule news/([1-9]+[0-9]*)/$ news_info.php?id=$1
$_post[' A '] value is 1,2,3,4,5
$_post[' B '] value is a,b,c,d,e
$_post[' C '] value is 6,7,8,9,0
$_post[' d '] value is h,i,j,k,l
$_post[' E '] value is o,p,q,r,s
These five arrays are also
In the back. Now I'm going to write them all into the
Asked the next Lao Xu, but the old Xu is very busy recently obviously the news also did not have time to see, then sent to everybody research research
Can match the following two kinds of situations, not one of them ...
PHP Complex *****************
1. If you and I experience very similar, there may be such a PHP complex, why, because I was the first to learn Java, and then learn C + +, the development of things will feel unusually tired, because these languages
Fatal Error:call to a member function Fetch_array () on a non-object in
What's going on?
Reply to discussion (solution)
is not an object, there is no way
is not an object, there is no way
I just got to the new company, this is the company
May I ask the great God that the TP framework has encapsulated all the function names of the document
Reply to discussion (solution)
thinkphp Full Development HandbookThinkPHP3.2 Full Development Handbook
thinkphp Full Development
PHP is a regular expression of basic grammar application learning.
^ Start
$ end
* Match 0 or more of zero or more
"ab*" matches strings A and 0 or more B-composed strings ("a" "AB" "ABB" "abbbbbb" etc)
+ Match one or more
This code is a pop-up box, but the pop-up after the top and bottom of the page center, how to locate the popup box? For example, 100 pixels from the top.
function Showiframe (title,url,w,h)
{
var pop=new Popup ({contenttype:1,scrolltype: ' No ',
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