![]() |
![]() ![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 21.04.2017 Ostrzeżenie: (0%) ![]() ![]() |
<?php
// random number 1 - 100 $result_random = rand(1, 100); // if result less than or equal 70, display ad1 (70%) if($result_random <= 70){ echo "ad1"; } // if result less than or equal 90, display ad2 (20%) else if($result_random <= 90){ echo "ad2"; } // if result less than or equal 100, display ad3 (10%) else { echo "ad3"; } ?> |
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
1) Popraw swoj kod o BBCODE
2) Opis problemu ma byc w tresci posta a nie w tytule tematu. Dodatkowo ma zawierac konkretnie o co ci chodzi -------------------- "Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista "Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 07:40 |