CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI: Getting data from a table, problem is probably stupidity(Yes it was, fixed now): Edit Log



Scuzzball
New User

Jan 12, 2012, 7:02 AM


Views: 17391
Getting data from a table, problem is probably stupidity(Yes it was, fixed now)

I'm trying to get info out of a database. The testing table I have has one data entry, URL, and I cannot get it out in perl.

This is the code: http://pastebin.com/7gaYceAY
This is where you can view the output: http://uf.serveftp.com/cgi-bin/display.cgi

I'm using \n instead of <br /> right now as I've been running it like a perl script so I can get more error messages.

But what I need to know is how I'm supposed to get the data out of the table after I execute the SQL query. I've just been copying things off different tutorials and modifying the variable names so they work, but none have worked.

Thank you for any help.


(This post was edited by Scuzzball on Jan 12, 2012, 7:52 AM)


Edit Log:
Post edited by Scuzzball (New User) on Jan 12, 2012, 7:52 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives