Solved

DisplayGrid functionality in PHP/MySQL/HTML?

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

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

708 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

19 Experts available now in Live!

Get 1:1 Help Now