php-db | 2001072
Date: 07/27/01
- Next message: Hugh Bothwell: "[PHP-DB] Re: Not Really A DB Question"
- Previous message: acastilh <email protected>: "[PHP-DB] ODBC and PHP"
- In reply to: Sharif Islam: "[PHP-DB] Tree Display"
- Next in thread: Dennis: "[PHP-DB] Re: Tree Display"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Sharif Islam" <mislam <email protected>> wrote in message
news:Pine.GSO.4.31.0107271608350.4794-100000 <email protected>
>
> I am still trying to figure out how to do it. I want to display my result
> from the data base in tree/menu like system.
Could you give us your SELECT statement and one row of returned data?
> So the result page will look like this:
>
> +Result1 (you click this , it will expand)
> -Item1 (you click this and get more info)
> -Item2
> -Item3
The expanding tree bit is done in JavaScript, see
http://kmserv.com/testbed/tree/smith_jstree.html
for a simple tutorial.
What you need to do is use PHP to write the JavaScript to
create the tree according to your query results.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Hugh Bothwell: "[PHP-DB] Re: Not Really A DB Question"
- Previous message: acastilh <email protected>: "[PHP-DB] ODBC and PHP"
- In reply to: Sharif Islam: "[PHP-DB] Tree Display"
- Next in thread: Dennis: "[PHP-DB] Re: Tree Display"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

