KneW Posted March 31, 2009 Report Share Posted March 31, 2009 Kads var iedot script prieksh dienas Joka??? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted March 31, 2009 Report Share Posted March 31, 2009 Lūdzu: <?php $joki = Array( 'Vīrs atgriežas pēc komandējuma...', 'Zaķītis iet pa mežu...', //... te turpinās - kopumā sarakstam 356 rindiņas ar jokiem 'Pēterītis prasa skolotājai...'); $sodienas_joks = $joki[date('z')]; echo 'Šodienas joks:<br/> ' . $sodienas_joks; ?> Quote Link to comment Share on other sites More sharing options...
KneW Posted March 31, 2009 Author Report Share Posted March 31, 2009 Paldies liels.! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.