$result = mysql_query("select username, favorites from users where favorites like \"%". $_GET['tutorial'] ."%\"");
while($row = mysql_fetch_row($result) )
{
explode("|", $row[1]);
}
i'm gettin each user tha thas the tutorial id in the field "favorites". then i explode the field so each key is a tutorial id.
now i need to find a way to remove the array key holding the same tutorial id then putting the array back together!?
so can anybody shed some light?
