Online, etc. menu question Product Table. The structure is FieldTypeCollationNullKey & nbsp; ------------------------------------------------ c_idint (11) (NULL) online, etc. Menu Question
The structure of the product table is as follows:
Field Type Collation Null Key
------------------------------------------------
C_id int (11) (NULL) NO PRI
C_pid int (11) (NULL) YES
C_path varchar (255) utf8_general_ci YES
C_name varchar (255) utf8_general_ci YES
This is the function I wrote to get the menu.
PHP code
function menuhead($pid=0){ global $mydb; $rs=$mydb->query("select c_id,c_pid,c_name from pdt_catagories where c_pid=".$pid.""); if ($rs->rnum()) { echo '
'; }}
I want to make it like this. how can I write it? the main reason is that the CSS style does not work?
------ Solution --------------------
This is js, and this does not require data. it is similar to the navigation menu. you can search for the sliding menu.
------ Solution --------------------
Sliding Door