The PHP plugin used in data collection, please help! How to fix it

Source: Internet
Author: User
PHP plugin used in data collection, please help me!!!!!!!!
In the data collection used to the lower part of the code, but do not understand the meaning of it, I hope to help you solve it!
Explain the meaning of each sentence, and $labelarray[] usage.

$LabelArray [' content '] = $LabelArray [' title ']. $LabelArray [' content '];
$LabelArray [' content '] = str_replace (' mouse ', ' ▲▲▲ dead Mouse ▲▲▲ ', $LabelArray [' content ']);
$LabelArray [' title '] = ' "to prefix the title tag" '. $LabelArray [' title '];
$LabelArray [' Time '] =date (' y-m-d h:i:s ');
$authorarray = Array (' Loco ', ' Wandering souls ', ' flying over Infinity ', ' Vus520 ', ' Xiao Wen ', ' mcdull ', ' netdream ', ' Tian Yi ', ' 6sky ', ' Sengl ');
$rndnum = rand (0,9);
$LabelArray [' author '] = ' re-refresh, followed by random '. $authorarray [$rndnum];

------Solution--------------------
PHP Code
 $LabelArray [' content '] = $LabelArray [' title ']. $LabelArray [' content '];//Give $ The ' content ' element in the Labelarray array is assigned a value $labelarray[' content ' = str_replace (' mouse ', ' ▲▲▲ dead Mouse ▲▲▲ ', $LabelArray [' content ']);//Will $labelarray ' contents ' in the array The ' mouse ' in the value of the element is replaced with ' ▲▲▲ dead mouse ▲▲▲ ' $LabelArray [' title '] = ' "Add a prefix to the title tag" '. $LabelArray [' title '];  Prefix the ' caption ' element in the $labelarray array and assign it the $labelarray[' time ' =date (' y-m-d h:i:s '); Get current time $authorarray = Array (' Loco ', ' ghost ', ' flying over Infinity ', ' Vus520 ', ' Xiao Wen ', ' mcdull ', ' netdream ', ' Tian Yi ', ' 6sky ', ' Sengl '); Create a new array $rndnum = rand (0,9); 0-9 randomly out an integer $labelarray[' author '] = ' re-refresh, followed by random '. $authorarray [$rndnum];//assigns 
------solution to ' author '--------------------
This paragraph only says $labelarray[' Html ' If there is content
add it to the previous part of the
------solution--------------------
Array subscript can be named by itself
  Of course you can, but it's better to have something to do with your content. This allows you to easily maintain your own maintenance with others
------Solution--------------------
Receive data that is: ". $LabelArray [' Html ']; It's not written here.
------Solution--------------------
Well, you should see PHP's basic syntax, and then use the PHP manual to check out the unfamiliar functions you're encountering
http://www.php.net/ manual/en/
  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.