How to set data to default =? Time output

Source: Internet
Author: User
How do I set data to default? Time output & lt ;? Php & nbsp; $ pd_id is an array foreach ($ pd_idas $ pkey & gt; $ pvalue) {& nbsp; echo $ pvalue; echo $ pkey; & nbsp ;}? & Gt; how to set this parameter to include default. when default2 is used, two numbers are output in each row. ------ How does the solution set data to default =? Time output
$ Pd_id is an array
Foreach ($ pd_id as $ pkey => $ pvalue ){
Echo $ pvalue;
// Echo $ pkey;
}
?>

When default is set to 2, two numbers are output in each row.

------ Solution --------------------
Where does default come from and where does it go?


------ Solution --------------------
I really don't know what he is talking about...
------ Solution --------------------
Brother, careless! The default is in that moles!
------ Solution --------------------
Discussion

This means that the result displayed on the page is
14441 15341 24054 24066 24078 24070

How to set a piece of code, use default, that is, when default = 2, the effect is
1441 15341
24054 24066
24078 24070

When default = 3, the effect is
14441 15341 24054
24066 24078 24070

Help ......

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.