I've been working on PHP which need to generate TreeGrid view. I've tried to find a free script on TreeGrid View but seem like it's hard to find one. Most of the script are shareware. By shareware I mean the cost is more than 10 bucks. I'm not going to waste my money so I decided to write my own script.
The script was written in PHP. Thanks to Apogee for the guide and advise on using recursive function a few years ago. The script cover only basic function to generate Tree Grid view. Feel free to modified, delete, or add codes as long as you the script stay free.
Below is my script which is currently need a lot of work on appearance.
As testing purpose, I attached SQL query to create table to have the idea on how this script works. Briefly, the script only need ID and PID where ID is the id of the nodes, and PID is the Parent ID for the nodes.
Enjoys and don't forget to like this post on Facebook. Any suggestion, comments or critics please drop it as comments. All response will be appreciated. Thank you.
Blogger Labels: Simple,Script,Generate,TreeGrid,View,Most,cost,bucks,money,Thanks,Apogee,Tree,Grid,Feel,appearance,output,GunBladeIV,Connection,database,PASSWORD,HOST,USER,LINK,Public,__construct,SELECT,FROM,WHERE,result,data,Title,Declare,node,_GET,container,Total,width,text,purpose,Parent,Dump,version,Generation,Time,Server,SQL_MODE,NO_AUTO_VALUE_ON_ZERO,Table,CREATE,NULL,AUTO_INCREMENT,DEFAULT,PRIMARY,ENGINE,InnoDB,CHARSET,INSERT,INTO,VALUES,Root,Child,Unknown,Facebook,suggestion,comments,response,Thank,codes,critics,shareware,localhost,getTree,mysql_query,mysql_fetch_assoc,getChild,nbsp,thead,nodes,phpMyAdmin