quegzacov
2 years ago
3 changed files with 35 additions and 49 deletions
Binary file not shown.
@ -1,30 +0,0 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|||
<title>Roulette à eau</title> |
|||
<script type="text/javascript" src="script.js"></script> |
|||
</head> |
|||
<body> |
|||
<code> |
|||
<?php |
|||
$bdd = new SQlite3('bdd.db'); |
|||
$query = $bdd -> query('SELECT * FROM Info'); |
|||
$res = $query -> fetchArray(); |
|||
var_dump($res); |
|||
?> |
|||
|
|||
</code> |
|||
<svg id="roulette" width="800" height="800"> |
|||
<g stroke="black" stroke-width=2></g> |
|||
</svg> |
|||
<script type="text/javascript"> |
|||
let names = new Array("arthur", "jimmy", "Jamel"); |
|||
draw_roulette(200, 200, 200, names); |
|||
</script> |
|||
<button onclick="rotate(3)">Tourner</button> |
|||
</body> |
|||
</html> |
|||
|
|||
|
Loading…
Reference in new issue