Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.