¡@

Home 

php Programming Glossary: msg_id

Print hierachical data in a parent child form unordered list php?

http://stackoverflow.com/questions/4318010/print-hierachical-data-in-a-parent-child-form-unordered-list-php

data in mysql table in a parent child hierarchy like msg_id parent_id msg 1 NULL msg1 2 NULL msg2 3 NULL msg3 4 1.. call message_hier 1 and here's the resultset it creates. msg_id emp_msg parent_msg_id parent_msg depth 1 msg 1 NULL NULL.. and here's the resultset it creates. msg_id emp_msg parent_msg_id parent_msg depth 1 msg 1 NULL NULL 0 2 msg 1 1 1 msg 1 1..