marcus Posted November 3, 2006 Share Posted November 3, 2006 Like to store multiple item ids in like a database table for the users and stufflike[code]$sql = "SELECT items FROM userdb WHERE userdb.id=$_COOKIE[id]";$result = mysql_query($sql);$result2 = mysql_fetch_assoc($result);$items = explode(",",$result2);while($row == $items){echo $fc_array[array_rand($fc_array)];};mysql_free_result($result);[/code]would something like that work? Quote Link to comment Share on other sites More sharing options...
Orio Posted November 3, 2006 Share Posted November 3, 2006 Your code doesnt make sense. What are you trying exactly to do?Orio. 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.