Solved

DisplayGrid functionality in PHP/MySQL/HTML?

Posted on 2011-09-04
5
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 34

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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…
This article discusses four methods for overlaying images in a container on a web page
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

630 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