Excuse me! Why can't I display only the category and the small category?

Source: Internet
Author: User
Excuse me! Why can't I display only the category in this category? the small category cannot display the table type with the serial library base class serial number baseclass library base class name?
Table chiclass has the serial number of the serial Library subclass. the serial number of the childclass Library subclass name baseclass library base class.
 
 
 
Bibliography
"; Echo $ p ."
"; $ K = 0; while ($ k ";}$ K ++ ;}}?>


Reply to discussion (solution)

You mean echo "". $ q ."
"; Not displayed?

You mean echo "". $ q ."
"; Not displayed?



Yes!

Print $ bc and $ cc

Print $ bc and $ cc



Is that true?
For ($ j = 0; $ j {
$ P = $ bc [$ j] [baseclass];
Echo"";
Echo $ p ."
";
Echo $ bc ."
";
$ K = 0;
While ($ k {
If ($ p = $ cc [$ k] [baseclass])
{
$ Q = $ cc [$ k] [childclass];
Echo "";
Echo "". $ q ."
";
Echo $ cc ."
";
}
$ K ++;
}
}
?>

Print_r ($ bc );
Print_r ($ cc );

Print_r ($ bc );
Print_r ($ cc );



Print_r ($ bc); Array ([0] => Array ([baseclass] => Computer) [1] => Array ([baseclass] => Literature) [2] => Array ([baseclass] => Mathematics) [3] => Array ([baseclass] => biology ))

Print_r ($ cc); Array ([0] => Array ([childclass] => programming class [baseclass] => 1) [1] => Array ([childclass] => network technology [baseclass] => 1) [2] => Array ([childclass] => image processing class [baseclass] => 1) [3] => Array ([childclass] => database technology [baseclass] => 1) [4] => Array ([childclass] => software engineering [baseclass] => 1) [5] => Array ([childclass] => calculus [baseclass] => 3 ))

Your $ bc baseclass is a Chinese character
While your $ cc baseclass is a number

$ P = $ bc [$ j] [baseclass];
If ($ p = $ cc [$ k] [baseclass])
How can they be equal?

So it turns out !~ Thank you!

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.