![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/05/2010, 13:34
|
| | Fecha de Ingreso: marzo-2010
Mensajes: 47
Antigüedad: 14 años, 10 meses Puntos: 0 | |
Respuesta: localhost php lo que estoy aciendo es esto
<html>
<head>
<title> Prueba Nitro </title>
</head>
<h1>Nitro</h1>
<h2>librerias</h2>
<body>
<?
echo "<p>Pedido procesado";
echo date("jS F,H:i ");
echo "su pedido es el siguiente";
echo <br>;
echo $jose1. "action<br>";
echo $luis1. "flash<br>";
echo $pepe1. "photo<br>";
$total1=0;
$total2=0.00;
define ("action3", 100);
define ("flash3", 50);
define ("photo3",20);
$total= $jose1+$luis1+pepe1;
$total2= $jose1 * action3;
$luis1 * flash3;
$pepe1 * photo3;
echo "<br> \n";
echo "articulos pedidos: ".$total1."<br>\n"
echo "subtotal: €";
echo number_format ($total, 2);
echo "<br>\n";
$iva = 0.10;
$total2 = $total2 * (1 + $iva);
$total2 = number_format($total2, 2);
echo "Total incluyendo impuestos: €".$total2."<br>\n";
?>
pero el el localhost no me sale correcto me lo lee como si fuera html y lo guardo en extension .php uso el notepad++ kreo k sirve para estas cosas |