title: UPDATE concat and variables
body: <p>I might just be sleepy, but i've tried to concat this in various ways and it just isn't working. the $friend_id is simply a string, and shouldn't be causing a problem as far as I know.</p>
  
  <pre><code>mysql_query("UPDATE users SET friends =  CONCAT(friends,"$friend_id")  WHERE username = '$user_logged_in'") or die mysql_error());
  </code></pre>
  
  <p>or</p>
  
  <pre><code>mysql_query("UPDATE users SET friends = friends +" . ", " . "'$friend_id' WHERE username = '$user_logged_in'");
  </code></pre>
  
  <p>any ideas where im tripping up?</p>