View Single Post
Old 02-07-2008, 11:09 PM   #4 (permalink)
Rendair
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

You can also do the following

PHP Code:
$user $_POST['username'];
$pass $_POST['password'];

mysql_query"SELECT id FROM users WHERE username='$user' AND password = PASSWORD('$pass')" ); 
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
The Following User Says Thank You to Rendair For This Useful Post:
Orc (02-07-2008)