Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 13.02.2009 Ostrzeżenie: (0%)
|
$luck = rand(1,6);
if ($luck == 1) { error(XXX); } za każdym razem wyświetla mi tego error'a. W czym jest problem? (IMG:http://forum.php.pl/style_emoticons/default/sciana.gif) |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 116 Pomógł: 8 Dołączył: 21.11.2008 Ostrzeżenie: (0%)
|
masz farta (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) ze za każdym razem to samo wychodzi
sprawdz tak: $luck = rand(1,6); echo $luck; Ten post edytował kyku 10.05.2009, 18:18:20 |
|
|
|
michaleq91 rand - problem 10.05.2009, 17:40:53
Spawnm daj mt_rand " title="Zobacz w manualu PHP" target=... 10.05.2009, 18:20:29 ![]() ![]() |
|
Aktualny czas: 27.12.2025 - 07:49 |