Funciona de maravilla sin los ******.
Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$var = "Bob";
$Var = "Joe";
echo "$var, $Var";// outputs "Bob, Joe"
if ($var == "Bob") {
echo "el nombre es Bob";
}
?>
</body>
</html>
-------------------------------------------------------------
Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
for ($i = 1; $i <= 10; $i++) {
print $i;
}
?>
</body>
</html>