Logo Luan Morina
Display random content with PHP demo
All you need is ignorance and confidence
and the success is sure

PHP

<?php
$randomContentArray = array(
'All you need is ignorance and confidence <br />and the success is sure',
'Always be yourself, express yourself, <br />have faith in yourself',
'Don\'t compromise yourself -<br /> you\'re all you have.'
);
$displayRandomContent = $randomContentArray[array_rand($randomContentArray)];
echo $displayRandomContent 
?>

CSS

@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');

.demo-bg {
  padding: 4em 2em;
  background-color: #000;
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.demo-content {
  margin: 0 auto;
  max-width: 460px;
  color: #fff;
  font-family: 'Tilt Neon', cursive;
  font-size: 40px;
  line-height: 1em;
  text-shadow:
  0 0 10px #fff,
  0 0 20px #fff,
  0 0 30px #fff,
  0 0 40px #0fa,
  0 0 80px #0fa;
} 
   Display random content with PHP