Jump to content

Spider diagram


rockinaway

Recommended Posts

Right.. say you have a question.. people can click a link that takes them to a spider diagram.. the question sits in the middle.. and then related questions link off (gathered from the database by some process of relevance).. and then more questions link of those questions (in order of relevance).. so you can see the links.. and then you can pick how many levels of questions you want to see.. and visit them like that - this is what I want to do..

 

Is this possible with PHP?

Link to comment
https://forums.phpfreaks.com/topic/99839-spider-diagram/
Share on other sites

It's not a subject too often covered in PHP. I agree that AJAX would make it more interactive... but it could be done with just simple links.

 

You basically want a node system, where each item has a parent node. You click the parent, and it finds all the children of that node. In that respect you can have a limitless number of levels.

 

You also need to set the starting question somewhere.

Link to comment
https://forums.phpfreaks.com/topic/99839-spider-diagram/#findComment-510661
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.