Jump to content

directory tree structure


technotool

Recommended Posts

HI,

I am helping to make a php app for some vets. basically, when the vet sees an animal they create an encounter by inputting the information into a form.  Each encouter is unique for a given date.  Of course the form from the encounter gets stored in a MySQL database. easy enough. The vets now want a directory tree of each encounter for a given animal.

so for example, the vet clicks an animal, SPOT ==> a directory tree (I am calling this a directory tree but really it is an encouter tree) pops up with the animal's name as a heading and each encounter form date as a branch.  I mean I think that I can pull each date from the MySQL database stick it in a table format-- but how do you make the lines that we see with a directory tree.  Is there some prepackaged script somewhere.  Thanks in advace for taking the time to read this. technotool.

 

    Spot

      |

      |_12/12/2007 New Animal Encounter

      |_12/20/2007 Followup Encounter

      |_12/30/2007 Followup Hit by baseball

 

 

 

 

 

 

 

Link to comment
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.