Real Pat nude Model photography site PHP to the right pull menu implementation code, testing in use

Source: Internet
Author: User
This is modified by the ASP two-level side-pull menu.

Copy the Code code as follows:








    Require ('.. /connections/lr.php ');
    mysql_select_db ($database _lr, $LR);
    $query = mysql_query ("SELECT * from Bigclass order by sort");
    $j = 0;
    while ($row =mysql_fetch_array ($query))
    {$j = $j +1;
    $bigclassid = $row [' Bigclassid '];
    $bigclassname _leftmenu= $row [' Bigclassname '];
    if ($htmlname ==1) {
    $bigclass _htmlname_leftmenu= $bigclassname _leftmenu;//Big class name
    if (Substr_count ($bigclass _htmlname_leftmenu, "") >0) {
    $bigclass _htmlname_leftmenu= Str_replace ("", "-", $bigclass _htmlname_leftmenu);
    }
    }
    if ($htmlname ==0) {
    $bigclass _htmlname_leftmenu= $bigclassid;
    }
    ?>


    • mysql_select_db ($database _lr, $LR);
      $query _small = mysql_query ("select * from Smallclass where bigclassid= ' $bigclassid ' ORDER by sort");
      while ($rs =mysql_fetch_array ($query _small))
      {
      $smallclassid _small_leftmenu= $rs [' Smallclassid '];
      $smallclassname _small= $rs [' Smallclassname '];//small class name
      if ($htmlname ==1) {
      $smallclass _htmlname= $smallclassname _small;
      if (Substr_count ($smallclass _htmlname, "") >0) {
      $smallclass _htmlname= Str_replace ("", "-", $smallclass _htmlname);
      }
      }
      if ($htmlname ==0) {
      $smallclass _htmlname= $smallclassid _small_leftmenu;
      }
      ?>

    • }?>


  • }?>


The above introduces the real Pat nude model photography site PHP to the right pull menu implementation code, test use, including the actual shooting nude die photography site aspects, I hope to be interested in PHP tutorial friends helpful.

  • Related Article

    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.