php Programming Glossary: message_hier
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 the stored procedure from the MySQL command line. call message_hier 1 and here's the resultset it creates. msg_id emp_msg parent_msg_id.. to get the message tree result conn query sprintf call message_hier d 1 xml new DomDocument xpath new DOMXpath xml msgs xml createElement.. 1 2 2 1 1' 6 'msg 1 2 2 1 2' 6 drop procedure if exists message_hier delimiter # create procedure message_hier in p_msg_id smallint..
|