The $value alone in the foreach statement when printed results in the output of 1 thru 10, however when I call this variable and insert it into my db the value only remains one integer? I want to store 10 digits in random order....
if (isset($_GET['product'])){
$regdate = date('Y-m-d');
srand((double) microtime() * 1000000);
$numbers = array(0,1,2,3,4,5,6,7,8,9,10);
shuffle($numbers);
foreach($numbers as $value)
{
"$value ";
}
$queryp=mysql_query("insert into catalog set session='$ses', product='$_GET[product]', path='$value', date='$regdate'");
}