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? Link to comment https://forums.phpfreaks.com/topic/26081-mysql-help-is-this-possible/ 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. Link to comment https://forums.phpfreaks.com/topic/26081-mysql-help-is-this-possible/#findComment-119249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.