How can I fix this script? The result that I'm looking for is
The number is: 1 and <iframe src="demo_iframe.htm" height="200" width="300"></iframe>
The number is: 2 and <iframe src="demo_iframe.htm" height="200" width="300"></iframe>
The number is: 3 and <iframe src="demo_iframe.htm" height="200" width="300"></iframe>
and i use this script
<?php
for ($x = 0; $x <= 10; $x++) {
echo "The number is: $x and <iframe src="demo_iframe.htm" height="200" width="300"></iframe> <br>";
}
?>
</body>
</html>
But the result is an error.