while($assoc = mysql_fetch_assoc($query0))
{
echo'["'.$assoc['icon'].'","'.$assoc['vnum'].'","'.$assoc['count'].'","'.$assoc['chance'].'\r\n"],';
$query0 = mysql_query("INSERT INTO ".ISHOP_MYSQL_DB.".stock_items_".ISHOP_TABLE_POSTFIX." (vnum,count,user_id)VALUES('".$assoc['vnum']."','".$assoc['count']."','".$_SESSION['ISHOP_SESSION_ID']."')") or die(mysql_error());

}


?