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!