dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: 1st time database user..or something..

  1. #1
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755

    1st time database user..or something..

    Hi,

    I am looking to start learning basics with databases. The web space I have comes with 1. SO I feel I shoudl start to take advantage of it as I DO pay for it. But I know 0% about them.

    What should be the first step (very beginner) to utilize this database? A mailling list? maybe keep a record of the "submissions" created by the form on my site?

    I know next to nill abotu PHP as well...so if there is a simple script one can post for me to look at and break it down...then maybe improvise after I understand it.

    This is the code I have on my submit button:
    on (release) {
    loadVariablesNum ("mail.php", 0, "POST");
    }

    This is my PHP mailer I wrote. (Dont laugh)

    <?php
    $Subject = "Form Inquiry";
    $MailTo = "whispers007@hotmail.com";
    $Body = "From: $name\nE-mail: $MailFrom\n\nQuestions/Comments: $message\n";
    $From = "From: DreamMedia_Support <$MailFrom>";

    mail($MailTo, "$Subject", "$Body", "$From");
    ?>

    How would I go about setting up my database....and then having these (or any) variables stored in it....and...how do I retrieve them as well??

    any advice is appreciated.

    -whispers-

  2. #2
    __OSX powered__ nucleuz's Avatar
    Join Date
    Aug 2000
    Location
    Norway
    Posts
    836
    Hi!
    Well, you just have to start in one end and start to learn
    Let's see what sites I can recommend:
    4 chapters of PHP & MySQL book
    Create a news system w/text files.
    PHPbeginner.com
    F.A.Q
    Devshed : PHP
    Devshed : MySQL

    Have a look at those; devshed has some good articles, and the 4 chapters of the book on PHP & MySQL should be a good start for you!

    Try them out and see if you can figure the DB interaction out: if not: come back with the code and let's have a look !

    Good luck!
    NuCleuZ :: PHPVolcano :: Blog

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