Пишу такой код
$result_count_image = $count_images - 1; echo $result_count_image;
нет не ошибок и не минусует.
Допустим $count_images = 6 а мне надо чтоб при echo $result_count_image было 5
$result_count_image = $count_images - 1; echo $result_count_image;
! |
Invis1ble |
(int)$count_images
$result_count_image = $count_images - 1; echo $result_count_image;