Cazpa
2009-12-19 11:45:26 UTC
$sql = "SELECT * FROM quotes WHERE user = (SELECT frd_name FROM friends WHERE mem_name = '$profile_user')";
SQL query failed. Check your query.
Error Returned: Subquery returns more than 1 rowSubquery returns more than 1 row
You can see the error that I am getting, I want to be ale to select quotes where user is a friend and this needs to allow for multiple friends.
Please help if you can