Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Displaying MySQL data in a table
03-09-2010, 07:21 PM #1
- Join Date
- Feb 2010
- Thanked 0 Times in 0 Posts
Displaying MySQL data in a table
I'm looking to do something very simple however I can't seem to find a cgi script for it.
I want to display a MySQL database in my browser in a table form. I'm not looking to be able to edit the table in any way, just display it.
Also, I would like one extra blank column at the right where I can put a web link (which consists of information that is in the that row. Does anyone know of a simple script that does that? Even if all it does is display the data, I'm sure I can modify it to do what I'm needing.
I can't seem to find anything that does this so I'm wondering if any of you guys would know of a script that does this? or maybe guide me in making my own?
03-10-2010, 08:41 PM #2
- Join Date
- May 2005
- Southern tip of Silicon Valley
- Thanked 160 Times in 155 Posts
You're not going to find a pre-made script to do what...you'll need to write your own custom script.
Start by reading the documentation for the CGi and DBI modules.
CGI - http://search.cpan.org/~lds/CGI.pm-3.49/lib/CGI.pm
DBI - http://search.cpan.org/~timb/DBI-1.609/DBI.pm
DBIx::HTMLTable - http://search.cpan.org/~rkies/DBIx-H...4/HTMLTable.pm