chiprivers Posted December 17, 2006 Share Posted December 17, 2006 I am doing some work on a family tree database and was wondering if there is anything within PHP that can be used for drawing? or perhaps something similar?At the moment I am using tables and applying a border to certain cell edges to form the family tree structure, how ever this does not allow very much flexability in layout. Is there an alternative to doing this? Link to comment https://forums.phpfreaks.com/topic/31033-drawing-with-php/ Share on other sites More sharing options...
Azu Posted December 17, 2006 Share Posted December 17, 2006 CSS(Cascading Style Sheets) can be a very useful/lightweight alternative to images.. Link to comment https://forums.phpfreaks.com/topic/31033-drawing-with-php/#findComment-143206 Share on other sites More sharing options...
NovaHaCker Posted December 17, 2006 Share Posted December 17, 2006 GD, but i would presume that it would be harder to code initially then to simply use something like paint or photoshop, unless you intend for it to be an active tree that is going to be used and updated enough to warrent such coding time.On the other hand though, there might already be open source software around the place that does it already, take a look. Link to comment https://forums.phpfreaks.com/topic/31033-drawing-with-php/#findComment-143207 Share on other sites More sharing options...
chiprivers Posted December 18, 2006 Author Share Posted December 18, 2006 I do not want to use images as that will provide a static family tree diagram, I want the diagram to be produced on the fly dependent on the returned data. For example, If I added a new relative to my database, I want the script to recognise where this person would fit in and replot the lines required for the tree. I do not want to just show a static image. Link to comment https://forums.phpfreaks.com/topic/31033-drawing-with-php/#findComment-143227 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.