![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/09/2010, 16:44
|
| | Fecha de Ingreso: marzo-2004
Mensajes: 199
Antigüedad: 20 años, 10 meses Puntos: 1 | |
Respuesta: If dentro de una variable yo puedo meter ese if dentro de una variable
se me ocurrio algo asi pero no me funciona no se si por sintaxis o q?
$Preciounitario = if (Preciopromocion=="0.00"){echo $Precio;}else{echo $Preciopromocion;}; |