PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $result = mysqli_query("select time_in_minutes from playertimes where gameid = ?", [$id]); if (!$result) throw new Exception("Error: " . mysqli_error); $alltimes = []; while ($row = mysqli_fetch_assoc($result)) { $alltimes[] = $row['time_in_minutes']; }
Show:  
Copy Clear