Function nav ($parent) {
$sql = mysql_query ("Select * from menu where parent = ' $parent '");
while ($row = Mysql_fetch_array ($sql)) {
Echo '
'. $row [' name ']. ';Nav ($row [' id ']);Echo '';
}
}
How to set the sub-class UL output it?
Like
IE8 must be added to the submenu to hide
mysql_select_db ($database _lr, $LR);
$query = mysql_query ("SELECT * from Bigclass order by sort");
while ($row =mysql_fetch_array ($query))
{
$bigclassid = $row [' Bigclassid '];
IE8 must be added to the submenu to hide
Copy CodeThe code is as follows:
mysql_select_db ($database _lr, $LR);
$query = mysql_query ("SELECT * from Bigclass order by sort");
while ($row =mysql_fetch_array ($query))
{
IE8 must be added to the submenu to hide
Copy CodeThe code is as follows:
mysql_select_db ($database _lr, $LR);
$query = mysql_query ("SELECT * from Bigclass order by sort");
while ($row =mysql_fetch_array ($query))
{
In order to exercise JQuery, I decided to write pages by myself
Final Effect
After clicking a letter, all words with the letter as the first letter are displayed below;
Display by page. 15 words are displayed on each page. Each group has 20 pages,
Modify the $first_menus, $second _menus, $java _menus in the _create_html () method.Always do Android, now want to do a blog, learn php, code quality and performance also please treatise.
-->
/**
*
Today stroll a day street, put Tianzifang, People's Square, Jingansi Park walk again, eat a lot of delicious things ~ ~ ~ and then back to the company to study the code, but also the timing of automatic rotation program written out, deliberately
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.