SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Feb 2014
    0 Post(s)
    0 Thread(s)

    Custom tags and tree elements in a page

    Hello all, I want to add custom nodes into my HTML document so I would get the result in the picture. I am a bit confused into how I would do something like this. Can someone explain it to me? Do I need XML for this or some other technologies aside from HTML that I haven't heard of? I know I could do that result with tables, but I want a more clean approach to it and would prefer something like this instead of tables.
    PHP Code:
    <entity type="Person">
        <image><?php //image from db ?></image>
        <first_name><?php //first name from db ?></first_name>
        <last_name><?php //last name from db ?></last_name>
        <gender><?php //gender from db ?></gender>
        <city><?php //city from db ?></city>
        <country><?php //country from db ?></country>
    Attached Images Attached Images


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts