...

View Full Version : Displaying MySQL data in a table



supanatral
03-09-2010, 07:21 PM
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?

FishMonger
03-10-2010, 08:41 PM
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-HTMLTable-0.24/HTMLTable.pm



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum