Results 1 to 3 of 3

Thread: Need help, Best way to set up forms to query CVS files from SQL database.

  1. #1
    Junior Registered
    Join Date
    Feb 2010
    Posts
    2

    Need help, Best way to set up forms to query CVS files from SQL database.

    I am completely new to this and a I apologize if I am postihng this in the wrong area.

    Here is what I am trying to do.

    Upload or "store" EXCEL files on my server and then have a "FORM" clients can fill out in order to see the info I uploaded in excel format.

    I was thinking that I should use either HTML or ASP to build the form and then MYSQL to store the data.

    What would be the best way for me to get the excel data stored on my server and then have a page with a FORM for clients to go to and be able to see the data from the excel file?

    I also want the form to have drop down selection boxes so that the client can chose which data from the excel file they want to see.

    Any help is much appreciated.

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    You want them to see the information in excel format?

    Then you can just link to the excel sheet and allow them to download it.

    What do you want them to fill out first? Is this a username/password login, or more like "give us your address so we can market to you and we'll show you our spreadsheet" sort of thing?

    If, however, you don't want to merely provide them with the excel file, you want to provide them with database information that you can customize on the fly. Then yes, you will need to export the excel file to CSV, then import into MySQL, and then use, typically php, to access it.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Junior Registered
    Join Date
    Feb 2010
    Posts
    2
    I am trying to create a form on a financial website so that clients can go to the form on a web page and first "LOGIN"

    Once they login, they will be presented with a form with drop down menus asking them WHAT info they want to see. (name, company, deposits, withdrawals, intere3st, etc... and then once they make their selections and hit submit, the info is pulled from the database and displayed on the website.

    The database is on our company server and is MS SQL (Not MYSQL)

    I have access to the database and MS Server 2005 and visual server 2005 and I can see the login name for me and the database name, but I have no idea how to connect the database to the form. How to query certain data or even how to have the form find the database for that matter.

    I am very familiar with installing Joomla websites on MYSQL databases and how to connect the config file for the website to the MYDQL database, but with this project I am way in over my head.

    My boss wants me to figure it out and I am usually good at doing that, but this has me baffled.

    First I need to know how to even connect to the database through a website and then have the form fields set so that whatever the client selects, that is what he gets.

    I don't want to have to tell my boss I can't do this, because I am sure with enough Googling and asking around I can figure it out, but any help here would be greatly appreciated.

Similar Threads

  1. In MySQL, possible to use two database in one PHP web application...?
    By jackbabington in forum Website Programming & Databases
    Replies: 6
    Last Post: 07-20-2008, 11:02 AM
  2. A Resource Directory of File Extensions
    By ! search-engines- in forum General Chat
    Replies: 0
    Last Post: 01-20-2006, 11:31 PM
  3. Replies: 0
    Last Post: 03-27-2005, 05:37 AM
  4. Database Driven Websites
    By star in forum Website Programming & Databases
    Replies: 6
    Last Post: 10-21-2003, 03:51 PM

Bookmarks

Posting Permissions

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