Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/06/2006, 09:52
Avatar de mauled
mauled
 
Fecha de Ingreso: marzo-2005
Ubicación: Cd. de México.
Mensajes: 3.001
Antigüedad: 19 años, 1 mes
Puntos: 33
Exclamación

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>