+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    James-NEA is offline Junior Member
    Join Date
    Sep 2009
    Posts
    3

    database websites??

    I have recently had an idea that hopfully could work very well for internet users but have absoluitly no idea about how to start and what I need to start it. The basic concept like many other websites is to have users registered to the site, but I dont know whats needed (servers, domaines,etc) i have no idea where to start either (guessing attaining a website name)generally im just in need of GOOD advice.

    hope you cann help me thanks

  2. #2
    Jagella's Avatar
    Jagella is offline Junior Member
    Join Date
    Apr 2009
    Posts
    34
    Quote Originally Posted by James-NEA View Post
    I have recently had an idea that hopfully could work very well for internet users but have absoluitly no idea about how to start and what I need to start it. The basic concept like many other websites is to have users registered to the site, but I dont know whats needed (servers, domaines,etc) i have no idea where to start either (guessing attaining a website name)generally im just in need of GOOD advice.

    hope you cann help me thanks
    James, you'll need a web page with a registration form. You'll probably need to include input fields for the user's first name, last name, email, user name, password and password confirmation.

    When the form data is submitted, you'll have to check that the user name isn't already in use and that it's in the proper format. If it is already in use or not the proper format, the user will need to be prompted to enter a different user name.

    The password entered will need to be checked to see if it's in the proper format and that it matches the password confirmation. If not, prompt the user to reenter a different password and confirm it.

    Once you've verified the integrity of the form data, it needs to be entered into a database stored on your web host's remote server. This database will need to be updated periodically by your users. So you'll need form pages for users to update their information.

    When users return to your site, you'll need a form page for them to log in, of course. It's a nice touch to greet users by name after logging in. Once logged in, they'll need a link to log out.

    To accomplish all these tasks requires the ability to program web pages and create data bases. A popular programming language in widespread use is PHP. MySQL is popular to create databases. If you want, I'll try to fill in more details about these languages, but keep in mind that they're very cryptic and technical. You'll need to spend some time with them if you want to create your own website with a database.

    Jagella


  3. #3
    James-NEA is offline Junior Member
    Join Date
    Sep 2009
    Posts
    3
    Thanks alot Jagella!

    This will be of great help and i will start looking into it in more detail now! Generaly i find it quite easy to adapt to new software hopfully i can grasp these quite easily

    James

  4. #4
    Jagella's Avatar
    Jagella is offline Junior Member
    Join Date
    Apr 2009
    Posts
    34
    I'm glad to be helpful, James.

    If you want to do this work yourself, you need to realize that it won't be easy. I'd recommend that you get a copy of Dreamweaver CS3. I use this program and love it. It makes creating websites much easier, and includes support for XHTML, CSS, PHP, and MySQL. In addition, I'd recommend David Powers' Dreamweaver CS3 with CSS, Ajax, and PHP. He does a pretty good job of showing you how to use Dreamweaver to code websites that use databases.

    Here's some PHP code that uses basic programming concepts.
    <?php
    #I'm starting this program by assigning the value of -100 to the variable, $anyvariable.
    $anyvariable = -100;

    #The conditional if statement below checks to see if $anyvariable is at least 10.
    if ($anyvariable >= 10) {
    echo "The value, $anyvariable, is at least 10.";
    }
    #This "elseif" checks to see if $anyvariable having failed the first condition meets a second condition.
    elseif ($anyvariable < 0) {
    echo "The value, $anyvariable, is negative.";
    }
    else
    {
    echo "The value, $anyvariable, is a real number equal to or greater than 0 but less than 10.";
    }

    #The command below "prints" a line break onto the screen.
    echo '<br />';

    #The following command is a short-hand method of multiplying a variable by itself. It is equivalent to $anyvariable = $anyvariable * $anyvariable
    $anyvariable *= $anyvariable;

    #Print the result of the operation above and insert another line break.
    echo "$anyvariable<br />";

    #The following command sets up an array. Each value in the array is designated as $automakers[n] where n is some integer from 0 to 4. $automakers[0], for example, is Chevy.
    $automakers = array('Chevy', 'Ford', 'Dodge', 'Toyota', 'Mercedes');

    #The following two commands add Honda to the end of the array as $automakers[5] and displays the new array element.
    $automakers[] = 'Honda';
    echo $automakers[5];

    echo '<br />';

    #Below is an "associative array" in which the keys of the array are given names rather than numbers. The elements are then displayed.
    $auto = array('maker' => 'General Motors',
    'brand' => 'Pontiac',
    'model' => 'LeMans',
    'year' => '2006');
    echo $auto['maker'];
    echo '<br />';
    echo $auto['brand'];
    echo '<br />';
    echo $auto['model'];
    echo '<br />';
    echo $auto['year'];
    echo '<br />';

    ?>
    As for MySQL, I set up and edit databases using an interface known as “phpMyAdmin.” You can see a screen shot of phpMyAdmin here.

    So that's some the basics. Let me know if you'd like more information.

    Jagella

  5. #5
    Alexishost's Avatar
    Alexishost is offline YE Veteran
    Join Date
    Aug 2009
    Posts
    759
    don't worry about database. some good web hosting provider can support you for that.

    or if you want more easier there is cms solution to manage site more easier.
    ███ █ ALEXIS HOST- Leading Cloud HOST!
    ██ █
    Fair Partnership Program>>>>Earn CASH ! sign up online Now!!
    We operate more than 500 servers. Machines' parameters are: Core 2 Quad, RAM memory: 8 GB, Hard Drive: 4x900 GB SATA II Retail, Operation system runs on: Debian Linux.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Untitled Document
YoungEntrepreneur Logo Featured on: Business Week About Alltop Wall Street Journal

Terms of Service | Privacy Policy


SEO by vBSEO 3.5.0 RC3