Menu
Hello,
I’d like to select the lowest bid.
So I selected all bids.
then i have a foreach, where i get stuck.
[code=php]
foreach($querystrr as $pp2){
$querystr2[] = $database->executeGetOneArray(“SELECT * FROM biddings WHERE deviceID = ‘”.$pp2[‘deviceID’].”‘ ORDER BY bid ASC”);
}
I want to print $querystr2’s bid value on the screen.
example, to make it more clear:
1 | 5
2 | 3
1 | 10
2 | 6
So I’ll get 10 and 6, and that makes 6 the lowest bid.