B bojko91 Registered 6 Февруари 2009 #1 Здравейте. Имам една молба. Някой може ли да ми направи този код на Джаваскрипт? Код: <?php $weekday = date("w"); if ( $weekday == 7 ) echo("Ima 4at v 3"); ?> Поздрави: Божидар Илиев
Здравейте. Имам една молба. Някой може ли да ми направи този код на Джаваскрипт? Код: <?php $weekday = date("w"); if ( $weekday == 7 ) echo("Ima 4at v 3"); ?> Поздрави: Божидар Илиев
K koko5 Registered 6 Февруари 2009 #2 Код: <script type="text/javascript"> var d=new Date(); if (d.getDay()==0) document.write('Ima 4at v 3'); </script> Няма ден, който е ==7 нито b PHP,нито b JS. w : Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday) Увеличете...
Код: <script type="text/javascript"> var d=new Date(); if (d.getDay()==0) document.write('Ima 4at v 3'); </script> Няма ден, който е ==7 нито b PHP,нито b JS. w : Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday) Увеличете...
B bojko91 Registered 6 Февруари 2009 #3 koko5 каза: Код: <script type="text/javascript"> var d=new Date(); if (d.getDay()==0) document.write('Ima 4at v 3'); </script> Няма ден, който е ==7 нито b PHP,нито b JS. w : Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday) Увеличете... Увеличете... Е така е
koko5 каза: Код: <script type="text/javascript"> var d=new Date(); if (d.getDay()==0) document.write('Ima 4at v 3'); </script> Няма ден, който е ==7 нито b PHP,нито b JS. w : Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday) Увеличете... Увеличете... Е така е