Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Nov 2007
    Posts
    38
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile CSS designer needs PHP help (form-to-DB)

    I'm working on a project that requires php syntax, which I won't even pretend to know. Basically, I need a form with various required information (name, address, email, check here to agree to terms, etc.) to be filled out online and the results stored as comma-delineated in a .txt file.

    Then I need a confirmation email sent to the user.

    The form and confirmation email is probably the easiest part of this assign (a cursory Google search reveals several options) but I'm not sure where to start on the PHP-to-.txt. Would anyone be kind enough to give me a decent starting spot to take a crash course in PHP?
    Last edited by DrewDizzle; 01-16-2008 at 10:39 PM. Reason: Changed wording

  • #2
    Regular Coder
    Join Date
    Jul 2007
    Posts
    571
    Thanks
    25
    Thanked 28 Times in 28 Posts
    Do you know what database you will be using (ex: MySQL)?

  • #3
    New Coder
    Join Date
    Nov 2007
    Posts
    38
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by srule_ View Post
    Do you know what database you will be using (ex: MySQL)?
    Frankly, I haven't even gotten that far. I assume MySQL would be the easiest. Like I said, my exposure is more on the design side so I'm all ears if you have any suggestions.

  • #4
    New Coder
    Join Date
    Nov 2007
    Posts
    38
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Actually, scratch that. I'm not using a DB - I jsut want PHP to insert the data into a comma-delineated format in a .txt file? That way it can be import into Access, Excel, et al.
    Last edited by DrewDizzle; 01-16-2008 at 10:40 PM. Reason: Changed wording

  • #5
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    You might note that most (if not all) MySQL database web clients have the ability to export .csv files.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • #6
    New Coder
    Join Date
    Nov 2007
    Posts
    38
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by StupidRalph View Post
    You might note that most (if not all) MySQL database web clients have the ability to export .csv files.
    Well, what's the easiest to set up for a beginner like myself? I just want a few data fields exported, using a comma-delineating format, to a .txt file. I don't need a .txt file for each time a visitor submits data; they can augment the existing file.

    Time/date stamps would be a nice-to-have as well. Thoughts?


  •  

    Posting Permissions

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