Solved

DisplayGrid functionality in PHP/MySQL/HTML?

Posted on 2011-09-04
5
182 Views
Last Modified: 2012-05-12
More a call for advice than fixing a specific problem.

I want to display some MySQL tables in a DisplayGrid format.
In Delphi a few clinks and links and the display grid would be up and running.

What is the advice of the EE team on how to how about this for a Web Page.

I'd prefer this to be PHPed if at all possible.

Many thanks,
0
Comment
Question by:edhasted
5 Comments
 
LVL 6

Accepted Solution

by:
yjchong514 earned 500 total points
ID: 36480290
0
 
LVL 31

Expert Comment

by:Marco Gasi
ID: 36480296
Delphi is a RAD environment, as you know, so many things are very easy and quick to do. With php, mysql and html the only RAD environment I know is... Delphi for Php, so you should buy it from Embarcadero site. Otherwise, you can try to use some free WYSIWYG editor for web languages; you can find useful links here: http://www.experts-exchange.com/Web_Development/Software/Q_27290644.html?cid=1576.

Personally, I know there is some javascript component: you can try to look at TableGear (http://andrewplummer.com/code/tablegear/): I've not tested it yet, but it seems to be a great script.

Cheers
0
 

Author Comment

by:edhasted
ID: 36480307
Sorry, I didn't mean to be misleading. I was just stating how trivial it is to create a data grid in Delphi.
I hadn't got my head hwo to injetc an equivalent in my HTML pages which is what I wnat to achieve.

Thanks for the links and will follow this through.
0
 
LVL 33

Expert Comment

by:Slick812
ID: 36481051
greetings edhasted, , Yes there is automatic "Grid" (row-column) creation in some of the database access in Delphi. But, if you need a special unique "Grid" (row-column) creation in Delphi for a certain display specification, then you can get the row - column data from the data table, and show it any way you want on your GUI.
I do not think that PHP offers any automatic DHTML formatting for a database table select request. So you will need to code your own MySQL connection, your own MySQL database table select request, and then do your own code for a loop through the requested data set rows, to place (echo) the elements in whatever column order you need for display.
Not sure what you want as an answer here, since each of those steps I gave require different kinds PHP knowledge. There are very many "tutorial" pages on the web for using PHP with MySQL and using WHILE loops to display the row-column from a select request, is a tutorial type of thing what you as an answer? Or some sort of pre built PHP class, that are offered, to copy into your PHP code to try and automatically show a MySQL select as a roe-column DHTML output?
0
 

Author Closing Comment

by:edhasted
ID: 36504385
That's the type of answer I was looking for. Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now