Jump to content

Eliana

New Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Eliana

  1. Well... since I can't start over and get books on php that is not an option. If you can't help I understand but maybe there is someone else on the forum that can better assist me with trying to figure this out. All I am asking for is if you understand the php code to help me learn it through practical application since I already have the code all I need is someone who is patient enough to walk through it with me. If there isn't enough time on the form I can communicate via email. what ever works.

  2. Oh okay, thanks. But that's just it, I only see one error in my dreamweaver and its on line 117 the code is as follows:

     

    <?php

    if (isset($_GET['success']) && empty ($_GET['success'])){

    echo'You\'ve been registered successfully! Please check your email to activate your account';

     

    } else {

    if(empty($_POST)=== false && empty($errors) === true){

     

    $register_data = array(

    'username' =>$_POST['username]'],

    'password' =>$_POST['password]'],

    'first_name' =>$_POST['first_name'],

    'last_name' =>$_POST['last_name]'],

    'email' =>$_POST['email]'],

    'email_code' =>md5($_POST['username']+ microtime())

    );

    register_user($register_data);

    header('Location: register.php? success');

    exit();

    }else{ if (empty($errors) === false) {

    echo output_errors($errors);}

    }

    ?>

  3. Just recently I watched a video tutorial on created a php database and log in and registration page. I created all the php pages along with the code, I thought I was finished but when I went to style the page as we want it things began to get really confusing. Now I am trying to put the php code information in to the html pages I am making and I getting so many errors I don't know where to begin. Is there anyone out there that I can get to look at the files I created with php and see how I am putting them in the html. I attached the index file we wanted to create for our webpage to include the login and registration php.

     

    Eliana Hebrew

    index.php

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.