function &test () { $data = ' Test '; Return (Is_null ($data)? $data: $data); if (Is_null ($data)) return $data; else return $data;} $s = Test (); Var_dump ($s);
This is to illustrate my intentions, the actual
If the request for a different connection results in subsequent code require or require_once "1.php",
If require is not in the process of dealing with different connected business, the data in 1.php is not shared?
Require_once words, share data.?
Everyone's website application authorization problem, according to Renren's technical document has been unable to handle the issue of the application authorization in the station, the above code is not complete, I am small white. So ask for a
Now the company is going to do a big gourmet website.
System planning including business, coupons, mobile phone, membership card, etc.
What to note about database design, interfaces, servers, programs, etc.
It was a little doubt to meet such a big
I'm going to go over the key value of the red line, just leave behind the two key values should be how to implement
Reply to discussion (solution)
$arr =array (38,39,41,38,39,41,42,43), $c =array_count_values ($arr), function foo ($v) {
The result is
Array (2) { [0]=> Array (1) { [0]=> string (8) "a11ba12b" } [1]=> Array (1) { [0]=> String (4) "a12b"} }
The question now is how to do this by using the {} bracket notation, but [1] = a11b instead of [1]=a12b,
Do you have any books to teach the basics? And then how to turn it up?
Reply to discussion (solution)
PHP does not have any system, the learning method is different. If you want to learn in an unfamiliar environment, you may have to master the
Class B
{
Public $name = "AAA";
function fb ()
{
echo Get_class ($this), "
";
echo $this->name, "
";
}
}
Class Eb extends B
{
Public $name = "Xxxxxxxxxxxxxxsylar";
function __construct ()
{
PARENT::FB ();
}
}
$eb = new EB ();
When $name
The following is part of the code, now open the page, the page has content, but the title of the page is the URL, how to write this title.
Header ("Content-type:application/octet-stream");
Header ("Accept-ranges:bytes");
Header ("Accept-length:".
I want to get a PHP server side of the video playback function, not the client, and live like, there is no such example
Reply to discussion (solution)
Upload the video to the server and find a Web player to broadcast it ....
Site migration, before the site is a level two directory, and now to move to a level directory, but before the two level catalog contains a lot of pages, how to use PHP to redirect the two-level directory page to the first level directory? The
PHP ewebeditor
A bunch of useless online.
Reply to discussion (solution)
Try CKEditor.
Always use Kindeditor to force ... Can be batch upload, and compatible with each browser.And most importantly, there are separate invocation instances:http://
It is known that there are several ways to use the carriage return line, but all the line breaks are cleared, and every line I want to keep a line break how to deal with it? (That is, to filter multiple line breaks together)
1. Use Str_replace to
Php
After I upload the PHP website to the server, click on the domain name again to enter will report this error ... Online solutions are no use, I would like to ask, upload the project files, home page (index.html) This file must be placed under
I now have some pages to hang on to someone else's website, and then to read data from my database to those pages display, if the direct mysql_connect () connection to read the data will not be very slow? Will there be a big problem? Because you
online, etc., asked if you know, PHP when downloading CSV file in the file why HTML sourceXLS file is normal
Reply to discussion (solution)
Based on your bad description, I can only give a bad answer?? There's something wrong with your code.
User name, you can enter the Chinese language can also be entered in English,
How do I write the regular to judge it.
You can't lose in China and England.
Chinese 10 characters or less. English is available within 30 letters.
Let's talk about 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