Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    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?

  2. #2
    Super Moderator
    Join Date
    May 2005
    Southern tip of Silicon Valley
    Thanked 233 Times in 226 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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts