View Single Post
  #2 (permalink)  
Old 09-05-2008, 02:22 PM
danlefree's Avatar
danlefree danlefree is offline
WebProWorld Pro
 
Join Date: Jun 2005
Location: Seattle
Posts: 255
danlefree RepRank 4danlefree RepRank 4danlefree RepRank 4danlefree RepRank 4
Default Re: Retrieve Username Help

The first problem is that you are not using mysql_real_escape_string() to escape your input before using it in a query.

The second problem is that your script will fail if there are two entries for the e-mail address in the database.
__________________
Dan LeFree | Product Manager (Linux VPS Hosting) | Owner/Operator (Web development, marketing)
Reply With Quote