PHP Classes

PHP AJAX Folder Tree View: Display and manage a tree of nodes stored in MySQL

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (44)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2024-06-15 (8 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 478 All time: 5,961 This week: 50Up
Version License PHP version Categories
fdtree 1.11GNU General Publi...5.0HTML, PHP 5, Databases, Content manag..., A...
Description 

Author

This class can display and manage a tree of nodes stored in MySQL.

It can generate HTML and JavaScript to display a tree of nodes stored in a MySQL database table.

The generated tree displays buttons to add, remove and edit the tree nodes using AJAX requests to PHP scripts that update the database table to perform the requested tree node manipulation operations.

Picture of Farzan Dalaee
  Performance   Level  
Name: Farzan Dalaee <contact>
Classes: 1 package by
Country: Iran Iran

Example

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Cache-Control" content="no-cache">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="Lang" content="en">
        <meta name="author" content="Farzan Dalaee">
        <meta http-equiv="Reply-to" content="farzan.dalaee@gmail.com">
        <meta name="generator" content="PhpED 8.0">
        <meta name="description" content="PHP Tree View Manager (ADD - EDIT - DELETE) is php class for manage tree structures mysql tables using jquery and bootstrap">
        <meta name="keywords" content="FDTree View | TreeView | mysql tree">
        <title>FDTree View</title>
    </head>
    <body>
        <!-- Add jQuery -->
        <script type="text/javascript" src="jquery.js"></script>
        <!-- Add Css File -->
        <link rel="stylesheet" type="text/css" href="FDTree.css">
        <!-- Add Font Awesome -->
        <link rel="stylesheet" type="text/css" href="awesome/css/font-awesome.min.css">
       
        <?php
           
include 'class.FDTree.php';
            include
'config/config.php';

           
$tree = new FDTree('countries','id','title','parent_id','ajaxTree.php','images/','FDTree','Are You Sure To Delete This Node?');
            echo
$tree->tree;
       
?>
</body>
</html>




Details

FDTreeView

PHP Tree View Manager (ADD - EDIT - DELETE) is php class for manage tree structures mysql tables using jquery and FontAwesome

sample example:

<code> $tree = new FDTree('countries','id','title','parent_id','ajaxTree.php','images/','FDTree','Are You Sure?'); echo $tree->tree; </code>


Screenshots  
  • FDTree.PNG
  Files folder image Files  
File Role Description
Files folder imageawesome (4 directories)
Files folder imageconfig (1 file)
Files folder imageimages (2 files)
Accessible without login Plain text file ajaxTree.php Aux. Application script
Plain text file class.FDTree.php Class Class source
Accessible without login Plain text file FDTree.css Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file jquery.js Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Auxiliary data
Accessible without login Plain text file sample.sql Data Auxiliary data

  Files folder image Files  /  awesome  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (5 files)
Files folder imageless (13 files)
Files folder imagescss (13 files)

  Files folder image Files  /  awesome  /  css  
File Role Description
  Accessible without login Plain text file font-awesome.css Data Auxiliary data
  Accessible without login Plain text file font-awesome.min.css Data Auxiliary data

  Files folder image Files  /  awesome  /  fonts  
File Role Description
  Accessible without login Plain text file fontawesome-webfont.eot Data Auxiliary data
  Accessible without login Plain text file fontawesome-webfont.svg Data Auxiliary data
  Accessible without login Plain text file fontawesome-webfont.ttf Data Auxiliary data
  Accessible without login Plain text file fontawesome-webfont.woff Data Auxiliary data
  Accessible without login Plain text file FontAwesome.otf Data Auxiliary data

  Files folder image Files  /  awesome  /  less  
File Role Description
  Accessible without login Plain text file bordered-pulled.less Data Auxiliary data
  Accessible without login Plain text file core.less Data Auxiliary data
  Accessible without login Plain text file fixed-width.less Data Auxiliary data
  Accessible without login Plain text file font-awesome.less Data Auxiliary data
  Accessible without login Plain text file icons.less Data Auxiliary data
  Accessible without login Plain text file larger.less Data Auxiliary data
  Accessible without login Plain text file list.less Data Auxiliary data
  Accessible without login Plain text file mixins.less Data Auxiliary data
  Accessible without login Plain text file path.less Data Auxiliary data
  Accessible without login Plain text file rotated-flipped.less Data Auxiliary data
  Accessible without login Plain text file spinning.less Data Auxiliary data
  Accessible without login Plain text file stacked.less Data Auxiliary data
  Accessible without login Plain text file variables.less Data Auxiliary data

  Files folder image Files  /  awesome  /  scss  
File Role Description
  Accessible without login Plain text file font-awesome.scss Data Auxiliary data
  Accessible without login Plain text file _bordered-pulled.scss Data Auxiliary data
  Accessible without login Plain text file _core.scss Data Auxiliary data
  Accessible without login Plain text file _fixed-width.scss Data Auxiliary data
  Accessible without login Plain text file _icons.scss Data Auxiliary data
  Accessible without login Plain text file _larger.scss Data Auxiliary data
  Accessible without login Plain text file _list.scss Data Auxiliary data
  Accessible without login Plain text file _mixins.scss Data Auxiliary data
  Accessible without login Plain text file _path.scss Data Auxiliary data
  Accessible without login Plain text file _rotated-flipped.scss Data Auxiliary data
  Accessible without login Plain text file _spinning.scss Data Auxiliary data
  Accessible without login Plain text file _stacked.scss Data Auxiliary data
  Accessible without login Plain text file _variables.scss Data Auxiliary data

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file config.php Conf. Configuration script

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file toggle-small-expand.png Icon Icon image
  Accessible without login Image file toggle-small.png Icon Icon image

 Version Control Unique User Downloads Download Rankings  
 97%
Total:478
This week:0
All time:5,961
This week:50Up