Solved

DisplayGrid functionality in PHP/MySQL/HTML?

Posted on 2011-09-04
5
183 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

777 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