Jul 26, 2008

Treating .csv Files As Database Data - Showing .CSV data on a web page

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

Treating .csv Files As Database Data - Showing .CSV data on a web page

mrdee
I use a nice program (which I helped to beta test) called 'Simfatic Forms' to generate forms on web pages.
The only problem is that it does not (yet) support MySQL databases, it saves the form data as a .CSV file.

Now I was wondering if you can do the same with a .CSV file as you do with a MySQL databse, ie. displaying the data in that file on a web page which adjusts automatically as data are added to the file.

To clarify: eg. if I make a form to sign a petition online, the data are saved to a .CSV file every time someone fills in the form, is it now possible, using HTML or PHP, to put the people who signed the petition on a web page, without me having to update the page manually every time someone signs the petition?

Would it also be possible to only display some of the data instead of all of them? Eg. when people sign the petition they will be asked for their name, City and email address, but for protection of their privacy I would only display their name and city on the result page.

Is there a way to achieve all of the above and, if so, how should it be done?

Thanks in advance for any help.

 

 

 


Reply

jlhaslip
When I was starting out learning php, I wrote a Contact Form that displayed the messages onto the Web page below the Form.
It used a csv file to do that.
Example: http://www.jlhaslip.trap17.com/contact_form/contact.php

Let me know if you would like to see the zip file for it.

Reply

mrdee
QUOTE(jlhaslip @ Feb 2 2008, 04:51 PM) *
Let me know if you would like to see the zip file for it.

Yes, Jim.
That would definitely be helpful.
Thanks.


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : treating, csv, files, database, data, showing, csv, data, web, page

  1. How Can You Get Audio Files From Itunes Videos?
    (1)
  2. Naming Web Page Files
    Which way you like- MyPage.html or my-page.html or my_page.html (5)
    Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
    etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
    talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
    am going to express my views and want to know what you think is correct. I have seen pages named in
    various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
    think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
  3. PHP Function To Add Previous and Next Page Feature
    useful php function (0)
    CODE <?php function navigationbar($start_number = 0, $items_per_page = 50,
    $count) {    // Creates a navigation bar    $current_page =
    $_SERVER["PHP_SELF"];     if (($start_number < 0) ||
    (! is_numeric($start_number))) {         $start_number = 0;     }
        $navbar = "";     $prev_navbar = "";     $next_navbar =
    "";     if ($count > $items_per_page) {         $nav_count = 0;
            $pag....
  4. Need Help With My Database [resolved]
    retrive data as a link (6)
    This is the situation: I have a database where you can add bands ( theire albums, genre other
    info) For the album part they can add for each album the songs. So what do i want: When i show
    the results there only shoul display the bandname which should be a link to the more detailed info
    like albums biography etc. How do I do that. Is there a name for this and are there any
    tutorials. thx in advance....
  5. Audio Files?
    (3)
    I need some help. Is it possible to get audio files off of sites? Like IMEEM and YouTube. I know the
    whole http://www.file2hd.com thing. It doesn't always work though. Are there other ways? Is
    there a way people hack audio files off of sites? NOTE: I DO NOT WANT DO THIS! I merely want to
    know so that I can protect my sites from it. Thanks.....
  6. Jar Executable Files
    (1)
    I have been supplied with a digital log book for use this semester and it comes in the form of a
    .jar file and a .mdb file. I tried running it on my mac but it crashes every time but it seems to
    run perfectly on windows xp. Does anyone have any ideas why? I thought .jar files would be
    computable on any platform. ....
  7. Need Help To Increase The Page Rank Of Website!
    (2)
    Hi everybody, I am dealing in online business and looking for some tips to increase the page rank of
    my website. In this I need some helps from you people. Please suggest me some tips so that I can get
    good traffic to my website and get more benefits. Your any suggestion will be highly appreciated.
    Thanks in advance! ....
  8. Is The Database System Gone Again? [resolved]
    Errors on PHPMyAdmin again (12)
    I wonder if there is a problem with the PHPMyAdmin system again? When trying to get into it, I once
    again get the following: QUOTE Warning: session_write_close() : SQLite: session write query
    failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    Warning: session_write_close() : Failed to write session data (sqlite). Please verify that the
    current setting of session.save_path is correct
    (/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: Ca....
  9. Database Or Pdf
    Best way to list books on my site (1)
    Hi all, I am not sure if this is the right place to post but I'm sure you'll tell
    me if it's not. My problem is this: I have a website where I sell books and it's one of
    those simpleton sites where I don't need to know code, I just click icons etc Anyway, I can
    upload images to the server and need to have them in different resolutions and link from a thumbnail
    to the larger picture. What I am trying to say is I have about 6000 books to display on my
    website which is impractical as it takes me about 10 mins to load 1 copy. What is the ....
  10. Adding Flash Music Player To Home/any Page
    How-to (put any song you want!!!) (4)
    Want to put music on all pages (near the top)? Want any song you want? Well heres how! Place the
    following IN PLACE of the tag (paste in while thats highlighted. The text in red you HAVE to
    replace with the song url. The text in green is OPTIONAL (whether you want it to autostart or not.
    Right now it doesnt, if you want it to replace no with yes.) Of course place this in Admin
    Cp>>>Skinning and Styles>>>Board Wrappers>>>Header and Body QUOTE REPLACE THIS
    WITH YOUR SONG URL &autoStart= no " /> src="http://www.podbean.com/podcast-au....
  11. Best Way To Transfer Files
    I just bought a laptop (6)
    Hi there guys, I just bought a brand new Dell Inspiron laptop for $729.99. It has a
    processing speed of 2.0ghz, 3GB RAM, and a 250gb hard drive. I'm really satisfied, especially
    with the wireless internet and the fact that I can carry my computer around with me, allowing you to
    use your computer in comfortable spots -- outside in the shade, on the train, or even in your bed
    where I'm using it write now as I type. If you didn't already guess, this is my first
    laptop. But I do have some issues. Does anyone happen to know an easy way to transfer some ....
  12. 1350 Great Free Logos (jpg + Psd)
    With both jpg and original psd files to edit (7)
    1350 Great Free Logos (With both jpg and psd files)
    http://rapidshare.com/files/126291346/1346...Great.Logos.zip This is a great collection of
    logos, they are already made logos which you can use like that or just use to create other logos, do
    what you want, they are free, they came from free websites that give this logos for free and lot
    more, but i just took the good ones mainly. There is also a small collection of 100 logos inside
    the compressed file, which you can use to insert those graphics in your logo/design/web design
    projects, do what you want with them ....
  13. Very Disappointed With Data Center Migration
    What do you think? (9)
    I am hopping mad. I have had nothing but grief since Trap 17 moved their Data Center (DC).
    My site has been down more time than it has been up. I have had to contact Live Support at Xisto 4
    times now in the last month. This is ridiculous. They fix things, it lasts a few days and my site
    is down again. I am at my wits end. I have been told my support to contact Shree. I have
    already communicated with him and he told me that things were solved 6/16, then whatever happened,
    my site was lost completely and had to be restored from their backup. My whole acc....
  14. 1 Terabyte Of Data On A Thumb Drive
    Yes, a whole terabyte! (8)
    Source Seriously, this is innovative. I can't wait for them to produce these...though you know
    the sellers are gonna jack the hell out of the price. In any case, I can only wonder what this will
    mean for desk top and laptop computers. I mean if they can fit a terabyte in a thumb drive with this
    technology, think of how much they can fit into a normal comp. Think of how much music that would
    hold....how many games you could fit.....the possibilities are almost literally endless.....
  15. How To Make An Item Scroll With You On The Page.
    (9)
    ok im not sure where or how to really ask this... but you can find an example at
    http://www.demonoid.com the ad that is on the right side scrolls with you basically to the bottom
    of the page. I know they use an iframe but can you show me how that works or what makes it do that?
    i tried to copy the source and css but it did not work.. any advice?....
  16. Eraser - Erase Your Data Permanently! For Free
    A must have software (7)
    When you delete file and empty recycle bin (Windows), it doesn't actually gone permanently!
    Many software can be used to recover those deleted files. Now think and imagine, you've deleted
    your personal file or something then someone recover and steal it. Don't worry, Eraser will come
    in handy What does it do? It delete files permanently! Nothing and noone can recover it. You
    can make previously deleted files not recoverable too by using Erase unused disk space feature. (if
    you want to sell your harddisk, use this) How can? It uses the patterns used ....
  17. Converting Audio Files In Vista
    how do you do it? (7)
    Ok, so I have some .wav files that I'd like converted into .mp3. I knew how to do it in XP, but
    I can't find windows audio converter in Vista....does vista even have that, or is it under a new
    name? Also, is it possible to convert video files, like .flv into .avi?....
  18. Database With Mysql++
    getting mySQL++ to work with trap17 (7)
    Hi, I'm trying to build an online game and figured the easiest way to do the server list would
    be to make a mySQL database for it; however, I use the con() command on the IP i get from pinging my
    website and I always get an abnormal program termination; however, it will work with the mySQL on my
    own machine. The code is below: CODE #include <iostream> #include <iomanip>
    #include <mysql++> #include "pass.h"//holds my password (i program at
    school) int main(void) {     Connection con("t3jem3_test","....
  19. What Is The Best Software
    what is the best software to recovery the data (5)
    Hi any one can tell me what is the best software to recovery the data ....
  20. How To Disable "show Hidden Files And Folders" In Folder Option
    (11)
    How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
    or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
    properties and then select Hide file) But if you open Folder Option and check "Show hidden files
    and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
    below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
    address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
  21. Informix To Sql Server (or How To Open .unl Files)
    how to import .unl files into SQL Server 2000 without Informix softwar (2)
    Does anyone know how to import .unl files into SQLServer 2000? My boss gave me this task to migrate
    an old database into SQLServer. I don't have informix installed since the files were sent to me
    via email. All files have .unl extension and I don't have a clue how to view them. I've
    tried opening them using excel but it can't be read. Does anyone know how to do this? Or at
    least know how to open/view the file using excel or any other program that could be easily migrated
    to sqlserver? Please, I need to migrate the files as soon as possible. Thanks....
  22. Get 30 Gb Email For Free
    let us talk about , email system for huge data ! (30)
    Friends here we are talking about largest email, free System http://www.30gigs.com this one is
    good and can handel many file at a time. plz let me know any one having this type of information
    ! Also for small user www.walla.com is good one....
  23. Scrolling Images?
    How to Make an Image Scroll With the Page (5)
    I'm trying to make my homepage look a little fancier and I've got a nice background image,
    but I want it to scroll with my page, like if you scroll down the image will still appear like it
    does on the top of the page. Can someone tell me how to do this? I'm using Microsoft Frontpage
    to edit it. I'm not sure what programming language this would be, probably CSS or Javascript,
    but I can edit the page script with Notepad or something to make this work. Right now the page is
    purely HTML, so whichever language this is, can somebody also give me the tags and ma....
  24. Linux Question: Amarok And File Permissions
    please help, i can't get it to work with all music files (4)
    hey, i use to use Linux DC++ to download music from some hubs and i usually download it to
    /home/downloads/ and then i move the files to my collection on another HDD a sata one, on
    sda3/music/ but when i move the files using krushader root mode they become posessed by root and
    amarok can't play them displaying a locker on the file's icon. I tried to " chmod 774 music
    ", where music is my music directory, as root in konsole but no luck. What should i do to make a
    whole directory accessible from amarok as user?....
  25. New Tech: Data Transmiting At 2.56 Terabites Per Second!
    Thats like 60 dvd's per second! (11)
    QUOTE Japanese and German researchers have transmitted data over a 160 kilometer link. This
    breaks the old record witch was held at 1.28 terabits per second. This new technology has
    allowed the researches to transfer 2,560,000,000,000 bits per second witch is the equivalent to 60
    dvd's.And this is PER SECOND ...... Just amazing what these people can come up with,
    stuck in a labatatory with copper wire everywhere,... wait more like fiber-optic. -To me this
    shows the progression of technology and speed of witch we will shortly be able to achei....
  26. Refresh Page After Back Button Hit
    (11)
    Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
    page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
    / Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
    the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
    back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
    won't do it. Help would be appreciated. Thanks. ....
  27. Import From Excel File Into Mysql Database
    (7)
    Has anyone tried using the excel import function that comes with phpmyadmin
    http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and
    is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish
    to import the data to , there is a link on the bottom left corner which says "insert data from a
    text file into the table" - although it says text file it still can be used to import an excel file.
    When you click on this link you will be taken to a page where you will be asked for the file name
    (the....
  28. My Ipod Is Randomly Skipping Songs, Losing Data,
    regaining data, and freezing (21)
    This morning I was going to listen to some music, so I got my iPod, turned it on, and it reset (I
    hadn't had it plugged in for a while). When I got to the music, it would go through half of a
    song, then skip to the next. After doing this a couple times, it would just skip entire songs.
    It'd skip six or seven, then do half of one, then skip six or seven more. Later I looked on the
    internet for some ideas, so eventually I tried resetting it again, as instructed. This worked for a
    little bit, but then it started skipping over songs again. I reset again, and it lost....
  29. Does Anyone Know How To Make Exe Files
    (17)
    Does anyone know any software for making exe files, I want to make simple programs not propper
    one's. Thanks.....
  30. Converting Video Files From One Format To Another
    help plz :) (6)
    hey i have learnt this nice way to open mov files in imageready and insert them in sigs,graphics and
    other stuff its really cool,this only works with .mov files and i really need to know if sumone here
    can do that,i need to change a wmv file into a .mov file so i cant add the movie to a sig,i have
    tried many video format conversion programs but they dont accept the mov format,the mov format is a
    quicktime video format,so anyone here know how to change a video file into a quicktime mov video
    format? thnx in advance....

    1. Looking for treating, csv, files, database, data, showing, csv, data, web, page

Searching Video's for treating, csv, files, database, data, showing, csv, data, web, page
Similar
How Can You
Get Audio
Files From
Itunes
Videos?
Naming Web
Page Files -
Which way
you like-
MyPage.html
or
my-page.html
or
my_page.html
PHP Function
To Add
Previous and
Next Page
Feature -
useful php
function
Need Help
With My
Database
[resolved] -
retrive data
as a link
Audio Files?
Jar
Executable
Files
Need Help To
Increase The
Page Rank Of
Website!
Is The
Database
System Gone
Again?
[resolved] -
Errors on
PHPMyAdmin
again
Database Or
Pdf - Best
way to list
books on my
site
Adding Flash
Music Player
To Home/any
Page -
How-to (put
any song you
want!
3;!)
Best Way To
Transfer
Files - I
just bought
a laptop
1350 Great
Free Logos
(jpg + Psd)
- With both
jpg and
original psd
files to
edit
Very
Disappointed
With Data
Center
Migration -
What do you
think?
1 Terabyte
Of Data On A
Thumb Drive
- Yes, a
whole
terabyte!
;
How To Make
An Item
Scroll With
You On The
Page.
Eraser -
Erase Your
Data
Permanently&
#33; For
Free - A
must have
software
Converting
Audio Files
In Vista -
how do you
do it?
Database
With Mysql++
- getting
mySQL++ to
work with
trap17
What Is The
Best
Software -
what is the
best
software to
recovery the
data
How To
Disable
"show
Hidden Files
And
Folders"
; In Folder
Option
Informix To
Sql Server
(or How To
Open .unl
Files) - how
to import
.unl files
into SQL
Server 2000
without
Informix
softwar
Get 30 Gb
Email For
Free - let
us talk
about ,
email system
for huge
data !
Scrolling
Images? -
How to Make
an Image
Scroll With
the Page
Linux
Question:
Amarok And
File
Permissions
- please
help, i
can't
get it to
work with
all music
files
New Tech:
Data
Transmiting
At 2.56
Terabites
Per
Second!
- Thats like
60 dvd's
per
second!
Refresh Page
After Back
Button Hit
Import From
Excel File
Into Mysql
Database
My Ipod Is
Randomly
Skipping
Songs,
Losing Data,
- regaining
data, and
freezing
Does Anyone
Know How To
Make Exe
Files
Converting
Video Files
From One
Format To
Another -
help plz :)
advertisement



Treating .csv Files As Database Data - Showing .CSV data on a web page



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE