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).
Bookmarks