It is currently 19. Aug 2019 06:20  


  User Information

Guest Avatar




Facebook, Google Login
Registration

  Hot Links



  Board Categories








Post new topic Reply to topic  [ 1 post ] 
FollowersFollowers: 0
BookmarksBookmarks: 0
Views: 268

 [PHP] Spruch des Tages 
AuthorMessage
FkP Admin
User avatar

Joined: 11.2013
Posts: 11182
Location: 58706 Menden
Gender: Male
Highscores: 1
Post [PHP] Spruch des Tages
Ein Spruch des Tages Script.

Code:
<?php

$data = array();

$data[] = 'Zwei Dinge sind unendlich: das Universuche Dummheit.
Aber bei dem Universum bin ich mir noch nicht ganz sicher.
<br><strong>Albert Einstein</strong>';

$data[] = 'Manche meinen, lechts und rinks kant velwechsern.
Werch ein illtum!
<br><strong>Ernst Jandl</strong>';

$data[] = 'Es gibt Maler, die die Sonne in einrwandeln.
Es gibt aber auch andere, die dank ihrer Kunst Fleck
in eine Sonne verwandeln.
<br><strong>Pablo Picasso</strong>';

$data[] = 'Mir tut der Unsinn leid, daß er geformt
wurde.
<br><strong>Kurt Schwitters</strong>';

$data[] = 'Programming today is a race striving to build
bigger and better idiot-proof programs, trying to produce bigger
and better idiots. So far, the Universe is winning.
<br><strong>Rich Cook</strong>';

$total_nbr = count($data);

$unix_days = floor(time()/ 86400);

$nbr2show = $unix_days % $total_nbr;

echo $data[$nbr2show];
?>

_________________
Image


3. Apr 2014 23:13
Profile Visit website
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© phpBB® Forum Software | designed by Vjacheslav Trushkin for Free Forums 3 & Free Forums/DivisionCore.
phpBB3 free Forum by UserBoard.org | All Rights Reserved.