Results 1 to 9 of 9
Thread: php
Hybrid View
-
10th April 2011 14:08 #1Banned
Join Date: Jan:2009
Location: -
Posts: 126
php
,
php php php php
PHP
- http://sinoptik.bg/ http://vremeto.bg<?php
//
$sun=date("D");
if ($sun=="Sun") echo "";
//
$mon=date("D");
if ($mon=="Mon") echo "";
//
$tue=date("D");
if ($tue=="Tue") echo "";
//
$wed=date("D");
if ($wed=="Wed") echo "";
//
$thu=date("D");
if ($thu=="Thu") echo "";
//
$fri=date("D");
if ($fri=="Fri") echo "";
//
$sat=date("D");
if ($sat=="Sat") echo "";
?>
-
10th April 2011 14:14 #2
, switch .
- - "D" "w" .
, , date("w"). switch .
,
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
10th April 2011 14:20 #3
-
10th April 2011 14:21 #4
+1 Bombera

@lyoba6kov:
, , , : "===" "==" PHP... , .
-
10th April 2011 14:29 #5
, , , .
, , , , , , PHP- - .EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
11th April 2011 11:00 #6: XaMaB; . 0.42
In God we Trust (all others must submit a X.509 certificate). , ()
-
12th April 2011 21:00 #7Banned
Join Date: Jan:2009
Location: -
Posts: 126
-
12th April 2011 21:17 #8
? . ...
Edit:
...Code:<?php setlocale(LC_ALL, 'bgr_BGR'); echo strftime("%A", mktime(0, 0, 0, 04, 12, 2011)); ?>Last edited by XaMaB; 12th April 2011 at 21:28.
: XaMaB; . 0.42
In God we Trust (all others must submit a X.509 certificate). , ()
-
13th April 2011 00:02 #9
" ".
.
Bombera , :
PHP Code:$days = array( '', '', '', '', '', '', '' );
echo $days[ date( 'w' ) ];




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in