Event-API und randomimage hinzugefügt

This commit is contained in:
R40fendt
2025-04-16 21:55:25 +02:00
parent adb4809405
commit 5bd5fcb02c
4 changed files with 316 additions and 0 deletions

22
rowforeach.php Executable file
View File

@@ -0,0 +1,22 @@
<?php
function rowforeach($query){
global $db_id;
$result=mysqli_query($db_id, $query);
$rows = array();
while ($row = $result->fetch_row()) {
array_push($rows,$row);
}
return $rows;
}
function srowforeach($query, array $args){
global $db_id;
$result=mysqli_execute_query($db_id, $query, $args);
$rows = array();
while ($row = $result->fetch_row()) {
array_push($rows,$row);
}
return $rows;
}
?>