View Single Post
  #1 (permalink)  
Old 01-08-04, 08:22 PM
tisza tisza is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
displaying data from a db

what would i type to make it select the email variable of the user $_COOKIE[username], i have this but i get an error when i try to display $id

$id = mysql_query("SELECT id FROM users WHERE username = $username");
Reply With Quote