[solved] Making a parentlist of id |
I have a forum table.
I need to make a parent list of all my pids. Lets say if I need to make parentlist for fid 36 As shown in image below Then then it should return PID numbers only 35, 34, 1 not to return 0 if pid is 0 ![]() Example I have tried PHP Code: public function make_parent_list() { Question How can I get it to properly make the parentlist. Can not seem to return 35, 34, 1 if fid 36
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[solved] Making a parentlist of id - by wolfgang1983 - 12-05-2016, 01:51 AM
RE: Making a parentlist of id - by InsiteFX - 12-05-2016, 04:01 AM
RE: Making a parentlist of id - by wolfgang1983 - 12-05-2016, 04:16 AM
RE: Making a parentlist of id - by Wouter60 - 12-05-2016, 08:53 AM
RE: Making a parentlist of id - by wolfgang1983 - 12-05-2016, 08:53 PM
RE: Making a parentlist of id - by Paradinight - 12-05-2016, 09:27 PM
RE: Making a parentlist of id - by wolfgang1983 - 12-05-2016, 10:21 PM
|