$passquery = "SELECT password FROM users WHERE login = 'owaring'";
$password = mysql_query($passquery)
or die ("Couldn't execute password query.");
echo $password;
ok, this is slightly embarraisng, i seem to have missed the basics of sql!!
why does this echo "Resource id #4"??
i figured the obvious solution was that i sql returned an array, knowing there could only be one value i tried
$password[0]
this was blank.
if somone could point out the blazing obvious i would appreciate it, if any one could point me towards the sql basics i missed that would be ace too!!