Sorry about the bump. It wont happen again.🆒
as for the code, that is the problem. I have the code to get the id, assign it and all that stuff, just dont know how to take that assigned random id and get php to tell mysql to go and get the rest of the stuff. But, here is what I have so far....
//here is the binding of the query and all that other good stuff
mysql_select_db($database_mysqlconnect, $mysqlconnect);
$query_randomQuery = "SELECT id FROM products ORDER BY RAND() LIMIT 0,1;";
$randomQuery = mysql_query($query_randomQuery, $mysqlconnect) or die(mysql_error());
$row_randomQuery = mysql_fetch_assoc($randomQuery);
$totalRows_randomQuery = mysql_num_rows($randomQuery);
//And here is where I assigned the result a variable name
echo $row_randomQuery['id'];
$randid = $row_randomQuery['id'];
hope that this helps. Am I even going in the right direction?😕