Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Wednesday at 11:57 AM
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Monday at 12:26 PM
Ad icon
Colombo
Hard Disk For Sale
mazza
Updated:
Saturday at 10:23 PM
land for sale
justasking
Updated:
Saturday at 9:32 AM
AMD AM 5 Ryzen setup
prabodhamadusanka
Updated:
Oct 8, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
php tree data structure help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Suvin1122" data-source="post: 17010956" data-attributes="member: 177083"><p><img src="/styles/default/xenforo/smilies/default/eek.gif" class="smilie" loading="lazy" alt=":eek:" title="eek :eek:" data-shortname=":eek:" /><img src="/styles/default/xenforo/smilies/default/eek.gif" class="smilie" loading="lazy" alt=":eek:" title="eek :eek:" data-shortname=":eek:" /></p><p>mekai seen eka..</p><p>umba tiygena inne parent id ekane.. eken hierachy eka ganna kota;</p><p>ex:: user1 ge kattiya,</p><p> mekata table ekama balala parent id == user1 wena ayawa ganna wenawane</p><p></p><p>so mama kiyanne wenama table ekak okata thiya ganna</p><p>ekata daanna user_id ekata adalawa </p><p></p><p>table -> user_id | sub_id</p><p></p><p>ram | shyama</p><p>ram | rohan</p><p>ram | romita</p><p>ram | ranjith</p><p>shyama | thyanjith</p><p>shyama | neha</p><p>shyama | rama</p><p></p><p>meken umbata ram ge hierachy eka gannawanam;</p><p></p><p>1.get user subs</p><p>2.for each user recursively call step 1</p></blockquote><p></p>
[QUOTE="Suvin1122, post: 17010956, member: 177083"] :eek::eek: mekai seen eka.. umba tiygena inne parent id ekane.. eken hierachy eka ganna kota; ex:: user1 ge kattiya, mekata table ekama balala parent id == user1 wena ayawa ganna wenawane so mama kiyanne wenama table ekak okata thiya ganna ekata daanna user_id ekata adalawa table -> user_id | sub_id ram | shyama ram | rohan ram | romita ram | ranjith shyama | thyanjith shyama | neha shyama | rama meken umbata ram ge hierachy eka gannawanam; 1.get user subs 2.for each user recursively call step 1 [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom