Help with data from db - Page 2
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: Help with data from db

  1. #16
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Thrilled To Be Here"
    Posts
    21,851
    Quote Originally Posted by bradgrafelman
    Step 1. Stop creating numerous threads that all center around the same issue. It's annoying.
    Cross-posted threads merged.
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  2. #17
    Member
    Join Date
    Nov 2012
    Posts
    43
    Ok, now I am really lost...

    Here is my code so far...

    if( $db_select_users = mysql_query("SELECT Unique, Surname, Name, Email, Birth FROM people
    " ) )
    {

    $date_today = date('Y-m-d');
    echo 'Date: '.$date_today.'<br />--------------------------------<br /><br />';

    $user_info = mysql_fetch_assoc($db_select_users);

    while($user_info = mysql_fetch_assoc($db_select_users)) {

    $unique = $user_info['Unique'];
    $name = $user_info['Name'];
    $surname = $user_info['Surname'];
    $birth = $user_info['Birth'];
    $email = $user_info['Email'];

    echo
    '<strong> Unique number: </strong>'.$unique.' '.
    '<strong>Name: </strong>'.$name.' '.
    '<strong>Surname: </strong>'.$surname.' '.
    '<strong>BD: </strong>'.$birth.' '.
    '<strong>Email: </strong>'.$email.' ';

    Now I want to be able to click on each user and have unique page for each or something where I can send a unique email for each.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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