Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
$ran=array('renkkodu1','renkkodu2','renkkodu3','renkkodu4');
$color="#".$ran[rand(0,3)];
$ran=array('red','blue','green','purple');
$color=$ran[rand(0,3)];
echo '<div style=" color: '.$color.'">renk denemesi</div>';
<?php
$yazi1 = 'Hello Friend';
$yazi2 = 'Hello';
$yazi3 = 'Elliot';
$yazi4 = 'Hello World';
$yazi5 = 'Earth';
if(isset($_POST['mike'])){
$random = rand(0,4);
if($random == 0){
$select = $yazi1;
}
elseif($random == 1){
$select = $yazi2;
}
elseif($random == 2){
$select = $yazi3;
}
elseif($random == 3){
$select = $yazi4;
}
elseif($random == 4){
$select = $yazi5;
}
echo $select;
}
?>
<html>
<body>
<form method="POST">
<button name="mike">Click Me!</button>
</form>
</body>
</html>