![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/03/2006, 15:51
|
![Avatar de rafaconpu](http://static.forosdelweb.com/customavatars/avatar129398_1.gif) | | | Fecha de Ingreso: febrero-2006
Mensajes: 331
Antigüedad: 19 años Puntos: 3 | |
prueba esto echo "<tr bgcolor='#E9E9E9'><td><a href='showrequest.php?ticketnum=$row[ticketnumber]'>" . $row["ticketnumber"] ."</a></td><td>" . $row["empresa"] ."</td><td>". if ($op=="1") echo \"yes\"; ".</td><td>QSTC</td><td>QRFC</td><td>SOA</td><td>WFP</td><td>POSM</td><td>PHBR</td><td>PDTC</td><td>OHBC</td><td>". $ddias ."</td><td>" . $row["dep"] . "</td><td>" . $row["status"] . "</td><td>" . $technicianname ."</td><td>" . $row["tipomsg"] . "</td></tr>\n";
Lo que está en rojo pruébalo, lo que he hecho es concatenarle el if al resto de la cadena. Espero te funcione, ya nos comentas. |