So basically I need to use a for loop to print "Hi mate" ten times in a list. How do I do this? I know how to for loop numbers but i have no idea how it works with text strings.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<ul>
<?php
for (???){
echo "<li>$string</li>";
}
?>
</ul>
</body>
</html>
Any suggestions? It's the first time I'm using PHP so be nice.