A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: Gather info via form and write to database

  1. #1
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140

    Gather info via form and write to database

    new client...new challenges

    I need to create a form to collect data, simple stuff like name, address, phone number, e-mail, etc. I can do this using Flash and PHP and have it sent to a specific e-mail address, one at a time, for each unique entry.

    This is OK, but there is no "complete list" of everyone who has sent the form. So, rather than having the data sent via e-mail, I'd like to have it write to a database that can be accessed by the client.

    Can someone point me in the right direction, offer hints, or any other suggestions?

    Thanks

  2. #2
    FK's Giant Steve_w_V's Avatar
    Join Date
    Mar 2003
    Location
    San Jose, California
    Posts
    2,113
    mySQL is what you are after. Or... if it is a small scale database (doesn't sound like it) you could use XML.

    www.mysql.com
    www.phpbuilder.com
    www.codingforums.com
    forums.devnetwork.net
    The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...

  3. #3
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    THanks,

    I'll look into these. Its a database that will ahve maybe 400 entries within a year, each entry would have maybe 5 or 6 fields.

  4. #4
    Member
    Join Date
    Apr 2003
    Posts
    75
    Did you succed in making it work?
    It is a good ideea in puting the data in a data base instead ofsending to an e-mail

  5. #5
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    Haven't spent a lot of time on that project yet. Other priorities, but this looks complicated, at least to my mind.

  6. #6
    Junior Member
    Join Date
    Mar 2001
    Posts
    9
    it sounds like something well suited for xml. you can have flash write the submited forms to xml on the fly and append them to an existing xml file. then you can show the client all the information by simply parsing through the xml. XML will require a lot less maintenance than any database although databases are more powerful.
    If your users won't be updating their info frequently then xml sound like a better alternative for a smaller scale datastore
    ¤Ta§Kѧ¤

  7. #7
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    Cool, I'll look into that too. Never done any xml, maybe now's the time to try.

  8. #8
    Member
    Join Date
    Apr 2003
    Posts
    75
    I wiil try todo it when I have time and put the source here
    I think if you learn how towork with databases you will be able to this for small clients and for big clients too
    If you learn to work with xml you wont be able to use this in big projects

  9. #9
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    Awesome...thanks :-)

  10. #10
    Official FK nice guy and MOD 3PRIMATES's Avatar
    Join Date
    Apr 2002
    Location
    Portland Oregon
    Posts
    1,645
    Heya,
    long time no talk...

    I would suggest a PHP/MySql combination.
    With the amount of data you are talking about, it would be a cinche to set up.

    Very good thing to learn for any budding developer

    3PRIMATES

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    75
    offtopic
    coooooooooooooooooool site you have 3primates.com

  12. #12
    Junior Member
    Join Date
    Nov 2000
    Posts
    6
    Hey did you found a way to solve the project? i'm working on something similar, can you share the knowledge if you found it? thanks in advance!
    ...turning your data into art...

  13. #13
    Senior Member Sir Yendor's Avatar
    Join Date
    Sep 2001
    Location
    Over here
    Posts
    1,140
    Still haven't spent a lot of time on it.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center