php - Many objects under objects -


i have doubt relationship , how show it.

i have channel can have many channels, can have more channels, can have more channels..........

how can relate them?

i thought each channel can have field tells channel it's related to, like:

id name related_channel 2  example1 null 3  example2 2 4  example3 2 5  example4 4 

what think it?

after relating them, how can show channels under channel?

thanks in advance!

i big fan of self-joins, stored procs near recursive (but not) operations on them. wrote example in link. let of know if need that. luck.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -