rockinaway Posted April 6, 2008 Share Posted April 6, 2008 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 More sharing options...
doni49 Posted April 6, 2008 Share Posted April 6, 2008 Sounds to me like AJAX would be better suited for that but YES I think you COULD do it with PHP. Link to comment https://forums.phpfreaks.com/topic/99839-spider-diagram/#findComment-510624 Share on other sites More sharing options...
rockinaway Posted April 6, 2008 Author Share Posted April 6, 2008 Any basic tutorials? Link to comment https://forums.phpfreaks.com/topic/99839-spider-diagram/#findComment-510649 Share on other sites More sharing options...
deadonarrival Posted April 6, 2008 Share Posted April 6, 2008 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 More sharing options...
rockinaway Posted April 6, 2008 Author Share Posted April 6, 2008 I can easily set the starting question, but has anyone got an example of a basic one they can show me? Link to comment https://forums.phpfreaks.com/topic/99839-spider-diagram/#findComment-510662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.