Dynamic Page Title in PHP
PHP is a server side
programming language so can change the title of web page dynamically.
Example :-
<!DOCTYPE
html>
<html>
<head>
<title>
<?php
$a=array
(
"first
title",
"Second
title",
" Thirrd
title",
"fourth
title"
);
$i=rand(0,3);
echo "$a[$i]";
?>
</title>
</head>
<body>
</body>
</html>
Output:-
0 Comments