- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
//prepare ids
$temp_char = "";
$temp_id = "";
$ids_array = array();
for ($i = 0; $i < strlen($ids); $i ++) {
$temp_char = substr($ids, $i, 1);
if ($temp_char != ",") {
$temp_id .= $temp_char;
if ($i == (strlen($ids) - 1)) {
array_push($ids_array, $temp_id);
$temp_id = "";
}
} else {
array_push($ids_array, $temp_id);
$temp_id = "";
}
}
jfhs 25.08.2021 04:33 # 0