SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Threaded View

  1. #1
    $postcount++; koomann's Avatar
    Join Date
    Feb 2003
    Location
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL Data Not Selecting?

    PHP Code:
    <?php
    include("accesscontrol.php" ); 
    include(
    "common.php" );
    include(
    "db.php" );
    dbConnect("star-craftx_com" );
    $sql "SELECT FROM design_users WHERE
    username='
    $username' AND password='$password' AND aim='$aim' AND email='$email' date_joined='$date_joined'";

    $date_joined date("M d, Y h:i A""$date_joined);
    echo 
    "Welcome<b> $username</b>.<br>";
    echo 
    "You registered on:<b> $date_joined </b><br>";
    echo 
    "<b>Contact Info:</b><blockquote><br>";
    echo 
    "<b>AIM:</b> $aim <br>";
    echo 
    "<b>ICQ:</b> $icq <br>";
    echo 
    "<a href="mailto:$email">Email <b> $username </b></blockquote>";

    ?>
    This is what it prints out:
    Welcome koomann.
    You registered on: Dec 31, 1969 06:00 PM
    Contact Info:

    AIM:
    ICQ:
    Email koomann


    I don't know what I'm going wrong...

    (NOTE: the reason why the $username still shows up, is because of "accesscontrol.php", the included file at the top).
    Last edited by koomann; May 14, 2003 at 16:51.


Bookmarks

Posting Permissions

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