Glenskie Posted February 11, 2012 Share Posted February 11, 2012 ok i have a script that displays posts , but i want it to only display posts by that person , $id and there friends here is the code for all of the posts , how would i add it in there to where it gets there friends posts to ? the table for friends is MyMembers and the column is Friend array $query = mysql_query("SELECT id,to_id,from_id,post,type,state,date FROM posts WHERE state='0' ORDER BY id DESC LIMIT 50"); there friends are set up as an array Quote Link to comment Share on other sites More sharing options...
fenway Posted February 12, 2012 Share Posted February 12, 2012 There is no array type column. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.